|
| | MatrixBlocks () |
| | Empty constructor.
|
| | MatrixBlocks (const segments_t &rows, const segments_t &cols) |
| | MatrixBlocks (const size_type &nbRows, const RowIndices_t &rows, const size_type &nbCols, const ColIndices_t &cols) |
| | MatrixBlocks (size_type start, size_type size) |
| | MatrixBlocks (const segments_t &idx) |
| | MatrixBlocks (const segment_t &idx) |
| template<typename MBDerived> |
| | MatrixBlocks (const MatrixBlocksBase< MBDerived > &other) |
| | Copy constructor.
|
| | MatrixBlocks (const MatrixBlocks &other)=default |
| MatrixBlocks & | operator= (const MatrixBlocks &other) |
| void | clearRows () |
| | Clear rows.
|
| void | clearCols () |
| | Clear cols.
|
| void | addRow (const size_type &row, const size_type size) |
| void | addCol (const size_type &col, const size_type size) |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateRows () |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateCols () |
| const RowIndices_t & | rows () const |
| const ColIndices_t & | cols () const |
| const size_type & | nbRows () const |
| const size_type & | nbCols () const |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateIndices () |
| MatrixBlocks< _allRows, _allCols > const & | derived () const |
| EIGEN_STRONG_INLINE View< MatrixType >::type | lview (const MatrixBase< MatrixType > &other) const |
| EIGEN_STRONG_INLINE View< constMatrixType >::type | rview (const MatrixBase< MatrixType > &other) const |
| MatrixBlocksRef< AllCols, AllRows > | transpose () const |
| MatrixBlocksRef< AllRows, true > | keepRows () const |
| MatrixBlocksRef< true, AllCols > | keepCols () const |
| const segments_t & | indices () const |
| const RowIndices_t & | rows () const |
| const ColIndices_t & | cols () const |
| const size_type & | nbIndices () const |
| const size_type & | nbRows () const |
| const size_type & | nbCols () const |
| MatrixBlocks< AllRows, AllCols > | block (size_type i, size_type j, size_type ni, size_type nj) const |
| MatrixBlocks< AllRows, AllCols > | middleRows (size_type i, size_type ni) const |
| MatrixBlocks< AllRows, AllCols > | middleCols (size_type j, size_type nj) const |
template<bool _allRows, bool _allCols>
class Eigen::MatrixBlocks< _allRows, _allCols >
Collection of indices of matrix blocks
- Parameters
| _allRows | whether the collection is composed of full columns |
| _allCols | whether the collection is composed of full rows |
This class enables a user to virtually create a matrix that concatenates blocks of a larger matrix.
The smaller matrix is built by methods lview and rview
- lview returns a smaller matrix that can be written in,
- rview returns a smaller matrix that cannot be written in.