Sparse matrix which uses blocks on the diagonal. More...
#include <sparse_block_matrix_diagonal.h>
Public Types | |
typedef std::vector< MatrixType, Eigen::aligned_allocator< MatrixType > > | DiagonalVector |
typedef MatrixType | SparseMatrixBlock |
this is the type of the elementary block, it is an Eigen::Matrix. More... | |
Public Member Functions | |
int | baseOfBlock (int r) const |
where does the row /col at block-row / block-column r starts? More... | |
const std::vector< int > & | blockIndices () const |
indices of the row blocks More... | |
int | cols () const |
columns of the matrix More... | |
const DiagonalVector & | diagonal () const |
the block matrices per block-column More... | |
DiagonalVector & | diagonal () |
int | dimOfBlock (int r) const |
how many rows/cols does the block at block-row / block-column r has? More... | |
void | multiply (double *&dest, const double *src) const |
int | rows () const |
rows of the matrix More... | |
SparseBlockMatrixDiagonal (const std::vector< int > &blockIndices) | |
Protected Attributes | |
const std::vector< int > & | _blockIndices |
vector of the indices of the blocks along the diagonal More... | |
DiagonalVector | _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 47 of file sparse_block_matrix_diagonal.h.
typedef std::vector<MatrixType, Eigen::aligned_allocator<MatrixType> > g2o::SparseBlockMatrixDiagonal< MatrixType >::DiagonalVector |
Definition at line 58 of file sparse_block_matrix_diagonal.h.
typedef MatrixType g2o::SparseBlockMatrixDiagonal< MatrixType >::SparseMatrixBlock |
this is the type of the elementary block, it is an Eigen::Matrix.
Definition at line 51 of file sparse_block_matrix_diagonal.h.
|
inline |
Definition at line 60 of file sparse_block_matrix_diagonal.h.
|
inline |
where does the row /col at block-row / block-column r starts?
Definition at line 68 of file sparse_block_matrix_diagonal.h.
|
inline |
indices of the row blocks
Definition at line 75 of file sparse_block_matrix_diagonal.h.
|
inline |
columns of the matrix
Definition at line 54 of file sparse_block_matrix_diagonal.h.
|
inline |
the block matrices per block-column
Definition at line 71 of file sparse_block_matrix_diagonal.h.
|
inline |
Definition at line 72 of file sparse_block_matrix_diagonal.h.
|
inline |
how many rows/cols does the block at block-row / block-column r has?
Definition at line 65 of file sparse_block_matrix_diagonal.h.
|
inline |
Definition at line 77 of file sparse_block_matrix_diagonal.h.
|
inline |
rows of the matrix
Definition at line 56 of file sparse_block_matrix_diagonal.h.
|
protected |
vector of the indices of the blocks along the diagonal
Definition at line 102 of file sparse_block_matrix_diagonal.h.
|
protected |
Definition at line 103 of file sparse_block_matrix_diagonal.h.