Class for storing lists of matrices, where one node in the list (called "chain") could contain more than one matrix.
More...
|
void | resize (node_ind_t n_nodes) |
|
node_ind_t | chainSize () const |
|
void | initNode (node_ind_t node_i, matrix_ind_t n_matrices, dim_t rows, dim_t cols) |
|
void | swap (MultiMatrixChain &other) |
|
void | finish () |
|
void | fill (node_ind_t node, matrix_ind_t mat, _Scalar val=0) |
|
matrix_t | matrix (node_ind_t node, matrix_ind_t mat) const |
|
_Scalar | operator[] (size_t index) const |
|
size_t | values_size () const |
|
|
matrix_ind_t | nodeSize (node_ind_t node_i) const |
|
dim_t | nodeRows (node_ind_t node_i) const |
|
dim_t | nodeColumns (node_ind_t node_i) const |
|
|
_Scalar & | operator() (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) |
| Access element with specified indices at specified matrix. More...
|
|
_Scalar | operator() (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
_Scalar & | at (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) |
|
_Scalar | at (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
|
node_ind_t | addNode () |
| Add new node with pattern matrix.
|
|
node_ind_t | addNode (matrix_ind_t n_matrices, dim_t rows, dim_t cols) |
|
template<typename _Scalar>
class ymir::MultiMatrixChain< _Scalar >
Class for storing lists of matrices, where one node in the list (called "chain") could contain more than one matrix.