remora::matrix< T, L, Tag > Class Template Reference

A dense matrix of values of type T. More...

#include <shark/LinAlg/BLAS/matrix.hpp>

Detailed Description

template<class T, class L = row_major, class Tag = cpu_tag>
class remora::matrix< T, L, Tag >

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.

Template Parameters
Tthe type of object stored in the matrix (like double, float, complex, etc...)
Lthe storage organization. It can be either row_major or column_major. Default is row_major

Definition at line 48 of file matrix.hpp.


The documentation for this class was generated from the following file: