Typedef cm_vec#
Defined in File qmatrix.hpp
Typedef Documentation#
-
using cm_vec = std::vector<std::complex<double>>#
A template matrix class for quantum (q) operators and general linear algebra.
qmatrix is a row-major matrix container for NRG quantum calculations, supporting:
Generic template types (double, std::complex<double>)
Dense matrix operations and eigenvalue decomposition
Kronecker products for tensor operations
Intel MKL optimized BLAS/LAPACK routines
The matrix is stored in flat STL vector in row-major order (LAPACK_ROW_MAJOR), with element (i,j) at index i*column+j.
Note
All indexing is 0-based. OpenMP parallelization used for large operations.
- Template Parameters:
T – Matrix element type (default: double). Supports std::complex<double>.