A dense matrix of values of type T
.
More...
#include <shark/LinAlg/BLAS/matrix.hpp>
A dense matrix of values of type T
.
For a \((m \times n)\)-dimensional matrix and \( 0 \leq i < m, 0 \leq j < n\), every element \( m_{i,j} \) is mapped to the \((i.n + j)\)-th element of the container for row major orientation or the \( (i + j.m) \)-th element of the container for column major orientation. In a dense matrix all elements are represented in memory in a contiguous chunk of memory by definition.
Orientation can also be specified, otherwise a row_major
is used.
T | the type of object stored in the matrix (like double, float, complex, etc...) |
L | the storage organization. It can be either row_major or column_major . Default is row_major |
Definition at line 48 of file matrix.hpp.