![]() |
NDEVR
API Documentation
|
Sparse matrix which uses blocks on the diagonal. More...
Public Types | |
| typedef MatrixType | SparseMatrixBlock |
| this is the type of the elementary block, it is an Eigen::Matrix. | |
Public Member Functions | |
| int | baseOfBlock (int r) const |
| where does the row /col at block-row / block-column r starts? | |
| const Buffer< int > & | blockIndices () const |
| indices of the row blocks | |
| int | cols () const |
| columns of the matrix | |
| const DiagonalVector & | diagonal () const |
| the block matrices per block-column | |
| int | dimOfBlock (int r) const |
| how many rows/cols does the block at block-row / block-column r has? | |
| int | rows () const |
| rows of the matrix | |
Protected Attributes | |
| const Buffer< int > * | _blockIndices = nullptr |
| vector of the indices of the blocks along the diagonal | |
Sparse matrix which uses blocks on the diagonal.
This class is used as a const view on a SparseBlockMatrix which allows a faster iteration over the elements of the matrix.
Definition at line 18 of file sparse_block_matrix_diagonal.h.