ergo
|
Base class for Matrix and Matrix specialization. More...
#include <MatrixHierarchicBase.h>
Public Member Functions | |
bool | operator== (int k) const |
const int & | nScalarsRows () const |
const int & | nScalarsCols () const |
const int & | nrows () const |
const int & | ncols () const |
Telement & | operator ()(int row |
assert (row >=0) | |
assert (col >=0) | |
assert (row< nrows()) | |
assert (col< ncols()) | |
const Telement & | operator ()(int row |
assert (row >=0) | |
assert (col >=0) | |
assert (row< nrows()) | |
assert (col< ncols()) | |
Telement & | operator[] (int index) |
Telement const & | operator[] (int index) const |
bool | is_zero () const |
int | nElements () const |
void | resetRows (SizesAndBlocks const &newRows) |
void | resetCols (SizesAndBlocks const &newCols) |
void | getRows (SizesAndBlocks &rowsCopy) const |
void | getCols (SizesAndBlocks &colsCopy) const |
bool | highestLevel () const |
bool | is_empty () const |
Check if matrix is empty Empty is different from zero, a zero matrix contains information about blocksizes etc. More... | |
Public Attributes | |
Telement int | col |
return | elements [row+col *nrows()] |
const Telement int col | const |
Protected Member Functions | |
MatrixHierarchicBase () | |
MatrixHierarchicBase (SizesAndBlocks const &rowsInp, SizesAndBlocks const &colsInp) | |
MatrixHierarchicBase (const MatrixHierarchicBase< Treal, Telement > &mat) | |
MatrixHierarchicBase< Treal, Telement > & | operator= (const MatrixHierarchicBase< Treal, Telement > &mat) |
virtual | ~MatrixHierarchicBase () |
Static Protected Member Functions | |
static void | swap (MatrixHierarchicBase< Treal, Telement > &A, MatrixHierarchicBase< Treal, Telement > &B) |
Protected Attributes | |
SizesAndBlocks | rows |
SizesAndBlocks | cols |
Telement * | elements |
Base class for Matrix and Matrix specialization.
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protectedvirtual |
References mat::freeElements().
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | col >= | 0 | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | col >= | 0 | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | row >= | 0 | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | row >= | 0 | ) |
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | ) |
Referenced by mat::MatrixHierarchicBase< Treal, Treal >::operator[]().
mat::MatrixHierarchicBase< Treal, Telement >::assert | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Check if matrix is empty Empty is different from zero, a zero matrix contains information about blocksizes etc.
Referenced by mat::Matrix< Treal >::frob_squared_thresh(), mat::Matrix< Treal >::frobThreshElementLevel(), mat::Matrix< Treal >::gemm(), mat::Matrix< Treal >::ssmm(), mat::Matrix< Treal >::symm(), mat::Matrix< Treal >::syrk(), and mat::Matrix< Treal >::sysq().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
References cols, mat::freeElements(), and rows.
Referenced by mat::Matrix< Treal >::operator=(), and mat::Matrix< Treal, Telement >::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprotected |
Telement int mat::MatrixHierarchicBase< Treal, Telement >::col |
|
protected |
Referenced by mat::Matrix< Treal >::assign(), mat::MatrixHierarchicBase< Treal, Treal >::getCols(), mat::MatrixHierarchicBase< Treal, Treal >::highestLevel(), mat::MatrixHierarchicBase< Treal, Treal >::is_empty(), mat::MatrixHierarchicBase< Treal, Treal >::ncols(), mat::MatrixHierarchicBase< Treal, Treal >::nElements(), mat::MatrixHierarchicBase< Treal, Treal >::nScalarsCols(), mat::MatrixHierarchicBase< Treal, Treal >::resetCols(), and mat::Matrix< Treal >::transpose().
const Telement int col mat::MatrixHierarchicBase< Treal, Telement >::const |
return mat::MatrixHierarchicBase< Treal, Telement >::elements |
Referenced by mat::Matrix< Treal >::frobThreshElementLevel(), mat::Matrix< Treal >::gemm(), mat::Matrix< Treal >::inch(), mat::MatrixHierarchicBase< Treal, Treal >::is_zero(), mat::MatrixHierarchicBase< Treal, Telement >::MatrixHierarchicBase(), mat::MatrixHierarchicBase< Treal, Treal >::operator[](), mat::MatrixHierarchicBase< Treal, Treal >::resetCols(), mat::MatrixHierarchicBase< Treal, Treal >::resetRows(), mat::Matrix< Treal >::symm(), mat::Matrix< Treal >::syrk(), and mat::Matrix< Treal >::transpose().
|
protected |
|
protected |
Referenced by mat::Matrix< Treal >::assign(), mat::MatrixHierarchicBase< Treal, Treal >::getRows(), mat::MatrixHierarchicBase< Treal, Treal >::highestLevel(), mat::MatrixHierarchicBase< Treal, Treal >::is_empty(), mat::MatrixHierarchicBase< Treal, Treal >::nElements(), mat::MatrixHierarchicBase< Treal, Treal >::nrows(), mat::MatrixHierarchicBase< Treal, Treal >::nScalarsRows(), mat::MatrixHierarchicBase< Treal, Treal >::resetRows(), and mat::Matrix< Treal >::transpose().