Back to Documentations

Signature Description Public Member Functions
enum class  matrix_orient : unsigned char  {

    column_major = 1, // Data is laid out col by col
    row_major = 2,    // Data is laid out row by row
};

// -----------------------

template<typename T,
         matrix_orient MO = matrix_orient::column_major,
         IS_SYM = false>
class   Matrix;
Matrix is an efficient and flat-memory implementation of matrix. It implements many numerical analysis and algorithms. It is used internally by DataFrame library to implement few of its algorithms. Also, some of DataFrame analysis results are in Matrix format.
A structurally symmetric matrix (IS_SYM is true) requires almost half the memory size of a normal matrix.

T: Matrix data type
MO: Matrix memory orientation
IS_SYM: Is matrix structurally symmetric
Matrix Header File



Matrix Test File



C++ DataFrame