HLIBpro
2.1
|
Represents a level-wise hierarchy of matrices. More...
#include <TMatrixHierarchy.hh>
Classes | |
class | TSparseBlockMatrix |
Represents a n×m block matrix with only a small number of non-null sub matrices stored in an efficient way. More... | |
Public Member Functions | |
TMatrixHierarchy () | |
construct an empty hierarchy | |
TMatrixHierarchy (TMatrix *A, const bool with_inner) | |
~TMatrixHierarchy () | |
destructor | |
size_t | n_levels () const |
return number of levels in hierarchy | |
TSparseBlockMatrix * | matrix (const size_t lvl) |
return blockmatrix for given level | |
TMatrix * | block (const size_t lvl, const TIndexSet &row_is, const TIndexSet &col_is) |
return matrix defined by is0×is1 on given level | |
size_t | byte_size () const |
return size in bytes used by this object | |
void | print (const uint ofs=0) const |
print content of matrix hierarchy | |
Stores a hierarchy of block matrices, such that each level matrix holds all matrices (or leaves) of that level of a given matrix.
TMatrixHierarchy | ( | TMatrix * | A, |
const bool | with_inner | ||
) |
construct a hierarchy based on given matrix A
A | matrix to construct hierarchy with |
with_inner | if true, also inner nodes will be stored in hierarchy |