humoto
|
A shorthand class for a specific sparsity type.
t_block_rows_num | number of rows in one block |
t_block_cols_num | number of columns in one block |
Definition at line 90 of file blockmatrix.h.
#include <blockmatrix.h>
Public Types | |
typedef BlockMatrixBase< const typename TypeWithoutConst< const DefaultDynamicMatrix & >::Type, t_block_rows_num, t_block_cols_num, t_sparsity_type >::DecayedRawMatrix | DecayedRawMatrix |
Public Member Functions | |
LeftLowerTriangularBlockKroneckerProduct (const DefaultDynamicMatrix &matrix, const std::ptrdiff_t identity_size=1, const std::ptrdiff_t block_rows_num=MatrixBlockSizeType::UNDEFINED, const std::ptrdiff_t block_cols_num=MatrixBlockSizeType::UNDEFINED) | |
DecayedRawMatrix | evaluate () const |
Conversion to Matrix. More... | |
void | evaluate (Eigen::PlainObjectBase< t_Derived > &output) const |
Conversion to a matrix. More... | |
void | evaluate (Eigen::Block< t_Derived, t_rows, t_cols, t_flag > output) const |
Conversion to a matrix. More... | |
void | multiplyRight (Eigen::PlainObjectBase< t_Derived > &result, const BlockMatrixBase< t_DBMMatrixType, t_dbm_block_rows_num, t_dbm_block_cols_num, MatrixSparsityType::DIAGONAL > &dbm) const |
this * BlockMatrix<DIAGONAL> More... | |
void | multiplyRight (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::Matrix< t_Scalar, t_vector_size, 1, t_vector_options > &vector) const |
this * Vector More... | |
Protected Types | |
typedef const Eigen::Block< const EIGENTOOLS_DYNAMIC_MATRIX(Scalar) > | ConstDynamicMatrixBlock |
Shorthand for Eigen block. More... | |
typedef const Eigen::Block< const EIGENTOOLS_DYNAMIC_MATRIX(Scalar), t_block_rows_num, t_block_cols_num > | ConstStaticMatrixBlock |
Shorthand for Eigen block. More... | |
typedef Eigen::Block< EIGENTOOLS_DYNAMIC_MATRIX(Scalar) > | DynamicMatrixBlock |
Shorthand for Eigen block. More... | |
typedef BlockMatrixAccessBase< const TypeWithoutConst< const DefaultDynamicMatrix & >::Type, t_block_rows_num, t_block_cols_num >::Scalar | Scalar |
typedef Eigen::Block< EIGENTOOLS_DYNAMIC_MATRIX(Scalar), t_block_rows_num, t_block_cols_num > | StaticMatrixBlock |
Shorthand for Eigen block. More... | |
Protected Member Functions | |
DynamicMatrixBlock | column (const std::ptrdiff_t index_col, const std::ptrdiff_t index_row_first, const std::ptrdiff_t index_num_rows) |
Access column of a matrix. More... | |
DynamicMatrixBlock | column (const std::ptrdiff_t index_col, const std::ptrdiff_t index_row_first=0) |
Access column of a matrix. More... | |
ConstDynamicMatrixBlock | column (const std::ptrdiff_t index_col, const std::ptrdiff_t index_row_first, const std::ptrdiff_t index_num_rows) const |
Access column of a matrix. More... | |
ConstDynamicMatrixBlock | column (const std::ptrdiff_t index_col, const std::ptrdiff_t index_row_first=0) const |
Access column of a matrix. More... | |
void | evaluateWithoutInitialization (const Eigen::MatrixBase< t_Derived > &output) const |
Conversion to a matrix. More... | |
void | finalize () |
Compute humber of blocks in matrix and check size consistency. More... | |
std::ptrdiff_t | getBlockColsNum () const |
Returns dimension of the matrix block. More... | |
std::ptrdiff_t | getBlockRowsNum () const |
Returns dimension of the matrix block. More... | |
std::ptrdiff_t | getNumberOfBlocksHorizontal () const |
Get number of blocks (horizontal/vertical) More... | |
std::ptrdiff_t | getNumberOfBlocksVertical () const |
Get number of blocks (horizontal/vertical) More... | |
std::ptrdiff_t | getNumberOfColumns () const |
Get total number of rows / columns. More... | |
std::ptrdiff_t | getNumberOfRows () const |
Get total number of rows / columns. More... | |
const DecayedRawMatrix & | getRaw () const |
Get raw matrix. More... | |
void | initializeBlockSize (const std::ptrdiff_t block_rows_num, const std::ptrdiff_t block_cols_num) |
Compute humber of blocks in matrix and check size consistency. More... | |
void | multiplyRight (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::MatrixBase< t_DerivedInput > &matrix) const |
this * Matrix More... | |
StaticMatrixBlock | operator() (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col) |
Block access operator. More... | |
ConstStaticMatrixBlock | operator() (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col) const |
Block access operator. More... | |
StaticMatrixBlock | operator() (const std::ptrdiff_t index) |
Block access operator for diagonal blocks. More... | |
ConstStaticMatrixBlock | operator() (const std::ptrdiff_t index) const |
Block access operator for diagonal blocks. More... | |
void | resize (const std::ptrdiff_t num_blocks_vert, const std::ptrdiff_t num_blocks_hor) |
Resize matrix. More... | |
void | resize (const std::ptrdiff_t num_blocks) |
Resize square matrix. More... | |
DynamicMatrixBlock | row (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col_first, const std::ptrdiff_t index_num_cols) |
Access row of a matrix. More... | |
DynamicMatrixBlock | row (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col_first=0) |
Access row of a matrix. More... | |
ConstDynamicMatrixBlock | row (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col_first, const std::ptrdiff_t index_num_cols) const |
Access row of a matrix. More... | |
ConstDynamicMatrixBlock | row (const std::ptrdiff_t index_row, const std::ptrdiff_t index_col_first=0) const |
Access row of a matrix. More... | |
DecayedRawMatrix | selectRowInBlocksAsMatrix (const std::ptrdiff_t row_in_a_block) |
Selects rows from the matrix. More... | |
void | set (const Eigen::DenseBase< t_Derived > &matrix) |
Set raw matrix. More... | |
void | setBlockSize (const std::ptrdiff_t block_rows_num, const std::ptrdiff_t block_cols_num) |
Returns dimension of the matrix block. More... | |
void | setZero (const std::ptrdiff_t num_blocks_vert, const std::ptrdiff_t num_blocks_hor) |
Resize matrix and initialize it with zeros. More... | |
void | setZero (const std::ptrdiff_t num_blocks) |
Resize square matrix and set it to zero. More... | |
Protected Attributes | |
std::ptrdiff_t | block_cols_num_ |
std::ptrdiff_t | block_rows_num_ |
const TypeWithoutConst< const DefaultDynamicMatrix &>::Type | matrix_ |
std::ptrdiff_t | num_blocks_hor_ |
std::ptrdiff_t | num_blocks_vert_ |
|
inherited |
Shorthand for Eigen block.
Definition at line 120 of file blockmatrix_base.h.
|
inherited |
Shorthand for Eigen block.
Definition at line 560 of file blockmatrix_base.h.
|
inherited |
Definition at line 78 of file blockmatrix_kronecker.h.
|
inherited |
Shorthand for Eigen block.
Definition at line 117 of file blockmatrix_base.h.
|
inherited |
Definition at line 549 of file blockmatrix_base.h.
|
inherited |
Shorthand for Eigen block.
Definition at line 555 of file blockmatrix_base.h.
|
inline |
Definition at line 90 of file blockmatrix.h.
|
inlineinherited |
Access column of a matrix.
[in] | index_col | index of the column |
[in] | index_row_first | segment of the column starts at this row |
[in] | index_num_rows | number of blocks |
Definition at line 238 of file blockmatrix_base.h.
|
inlineinherited |
Access column of a matrix.
[in] | index_col | index of the column |
[in] | index_row_first | segment of the column starts at this row if index_row_first is not specified => return the whole column |
Definition at line 260 of file blockmatrix_base.h.
|
inlineinherited |
Access column of a matrix.
[in] | index_col | index of the column |
[in] | index_row_first | segment of the column starts at this row |
[in] | index_num_rows | number of blocks |
Definition at line 268 of file blockmatrix_base.h.
|
inlineinherited |
Access column of a matrix.
[in] | index_col | index of the column |
[in] | index_row_first | segment of the column starts at this row if index_row_first is not specified => return the whole column |
Definition at line 281 of file blockmatrix_base.h.
|
inlineinherited |
|
inlineinherited |
Conversion to a matrix.
t_Derived | Eigen template parameter |
[out] | output | matrix |
Definition at line 267 of file blockmatrix_kronecker.h.
|
inlineinherited |
Conversion to a matrix.
t_Derived | Eigen template parameter |
t_rows | Eigen template parameter |
t_cols | Eigen template parameter |
t_flag | Eigen template parameter |
[out] | output | matrix block of appropriate size |
Definition at line 286 of file blockmatrix_kronecker.h.
|
inlineprotectedinherited |
Conversion to a matrix.
t_Derived | Eigen template parameter |
[out] | output | matrix |
Definition at line 53 of file blockmatrix_kronecker.h.
|
inlineprotectedinherited |
Compute humber of blocks in matrix and check size consistency.
Definition at line 504 of file blockmatrix_base.h.
|
inlineinherited |
Returns dimension of the matrix block.
Definition at line 384 of file blockmatrix_base.h.
|
inlineinherited |
Returns dimension of the matrix block.
Definition at line 377 of file blockmatrix_base.h.
|
inlineinherited |
Get number of blocks (horizontal/vertical)
Definition at line 136 of file blockmatrix_base.h.
|
inlineinherited |
Get number of blocks (horizontal/vertical)
Definition at line 129 of file blockmatrix_base.h.
|
inlineinherited |
Get total number of rows / columns.
Definition at line 155 of file blockmatrix_base.h.
|
inlineinherited |
Get total number of rows / columns.
Definition at line 148 of file blockmatrix_base.h.
|
inlineinherited |
|
inlineprotectedinherited |
Compute humber of blocks in matrix and check size consistency.
Definition at line 474 of file blockmatrix_base.h.
|
inlineinherited |
this * BlockMatrix<DIAGONAL>
t_Derived | Eigen parameter |
t_DBMMatrixType | raw diagonal block matrix type |
t_dbm_block_rows_num | number of rows in a block of the diagonal matrix |
t_dbm_block_cols_num | number of columns in a block of the diagonal matrix |
[out] | result | result of multiplication |
[in] | dbm | diagonal block matrix |
Definition at line 96 of file blockmatrix_kronecker.h.
|
inlineinherited |
this * Vector
t_DerivedOutput | Eigen template parameter |
t_Scalar | Eigen template parameter |
t_vector_size | Eigen template parameter |
t_vector_options | Eigen template parameter |
[out] | result | result of multiplication |
[in] | vector |
Definition at line 214 of file blockmatrix_kronecker.h.
|
inlineinherited |
this * Matrix
t_DerivedOutput | Eigen parameter |
t_DerivedInput | Eigen parameter |
[out] | result | result of multiplication |
[in] | matrix |
Definition at line 870 of file blockmatrix_base.h.
|
inlineinherited |
Block access operator.
[in] | index_row | |
[in] | index_col |
Definition at line 570 of file blockmatrix_base.h.
|
inlineinherited |
Block access operator.
[in] | index_row | |
[in] | index_col |
Definition at line 580 of file blockmatrix_base.h.
|
inlineinherited |
Block access operator for diagonal blocks.
[in] | index | row and column index |
Definition at line 596 of file blockmatrix_base.h.
|
inlineinherited |
Block access operator for diagonal blocks.
[in] | index | row and column index |
Definition at line 603 of file blockmatrix_base.h.
|
inlineinherited |
Resize matrix.
[in] | num_blocks_vert | |
[in] | num_blocks_hor |
Definition at line 182 of file blockmatrix_base.h.
|
inlineinherited |
Resize square matrix.
[in] | num_blocks | number of diagonal blocks |
Definition at line 211 of file blockmatrix_base.h.
|
inlineinherited |
Access row of a matrix.
[in] | index_row | index of the row |
[in] | index_col_first | segment of the row starts at this column |
[in] | index_num_cols | number of blocks |
Definition at line 297 of file blockmatrix_base.h.
|
inlineinherited |
Access row of a matrix.
[in] | index_row | index of the row |
[in] | index_col_first | segment of the row starts at this column if index_col_first is not specified => return the whole row |
Definition at line 319 of file blockmatrix_base.h.
|
inlineinherited |
Access row of a matrix.
[in] | index_row | index of the row |
[in] | index_col_first | segment of the row starts at this column |
[in] | index_num_cols | number of blocks |
Definition at line 327 of file blockmatrix_base.h.
|
inlineinherited |
Access row of a matrix.
[in] | index_row | index of the row |
[in] | index_col_first | segment of the row starts at this column if index_col_first is not specified => return the whole row |
Definition at line 340 of file blockmatrix_base.h.
|
inlineinherited |
Selects rows from the matrix.
[in] | row_in_a_block | row number in a block |
Definition at line 366 of file blockmatrix_base.h.
|
inlineinherited |
Set raw matrix.
t_Derived | Eigen parameter |
[in] | matrix |
Definition at line 169 of file blockmatrix_base.h.
|
inlineinherited |
Returns dimension of the matrix block.
Definition at line 395 of file blockmatrix_base.h.
|
inlineinherited |
Resize matrix and initialize it with zeros.
[in] | num_blocks_vert | |
[in] | num_blocks_hor |
Definition at line 197 of file blockmatrix_base.h.
|
inlineinherited |
Resize square matrix and set it to zero.
[in] | num_blocks | number of diagonal blocks |
Definition at line 222 of file blockmatrix_base.h.
|
protectedinherited |
Definition at line 414 of file blockmatrix_base.h.
|
protectedinherited |
Definition at line 413 of file blockmatrix_base.h.
|
protectedinherited |
Definition at line 408 of file blockmatrix_base.h.
|
protectedinherited |
Definition at line 411 of file blockmatrix_base.h.
|
protectedinherited |
Definition at line 410 of file blockmatrix_base.h.