libtma 0.3.13-dev.9013
QE C++ library
Loading...
Searching...
No Matches
libtma

Header-only C++ accumulation layer of tma: the stanza-window model, ground/response and tensor accumulation, and per-line weight models. It is built on libqe's generic numerics and is the code shared by tma (R), qe-tma (Python), tma-wasm (JavaScript) and TMA.jl (Julia). ENA models of the accumulated networks live in libena.

Everything is in namespace qe. Matrices are Armadillo types.

Install

Add the qe-libs Conan remote and require libtma. Available versions are listed on the registry page.

conan remote add qe-libs https://gitlab.com/api/v4/projects/22522458/packages/conan
find_package(libtma REQUIRED)
target_link_libraries(app PRIVATE libtma::libtma)
#include <armadillo>
#include <libtma/libtma.hpp> // libqe and every libtma module
Master include — brings in libqe and all libtma (accumulation) modules.

Modules

Header Contents
accumulation.hpp Connection matrices for one ground/response pair (qe::connection_matrix), stanza-window accumulation (qe::accumulate_stanza), per-unit accumulation (qe::accumulate_unit, qe::accumulate_unit_networks), weight models (qe::apply_weight_model) and directed-network folding
bind/ Armadillo conversions for the nanobind, Emscripten and CxxWrap bindings; not included by libtma.hpp

Source

tma on GitLab — the headers are in inst/include/libtma/, the Conan recipe in conan/.