|
| | MatrixBlocks () |
| | Empty constructor. More...
|
| |
| | MatrixBlocks (const segments_t &rows, const segments_t &cols) |
| | Constructor by vectors of segments. More...
|
| |
| | MatrixBlocks (const size_type &nbRows, const RowIndices_t &rows, const size_type &nbCols, const ColIndices_t &cols) |
| | Constructor by vectors of segments. More...
|
| |
| | MatrixBlocks (size_type start, size_type size) |
| | Constructor of single block. More...
|
| |
| | MatrixBlocks (const segments_t &idx) |
| | Constructor by a collection of indices. More...
|
| |
| | MatrixBlocks (const segment_t &idx) |
| | Constructor of a single block. More...
|
| |
| template<typename MBDerived > |
| | MatrixBlocks (const MatrixBlocksBase< MBDerived > &other) |
| | Copy constructor. More...
|
| |
| void | clearRows () |
| | Clear rows. More...
|
| |
| void | clearCols () |
| | Clear cols. More...
|
| |
| void | addRow (const size_type &row, const size_type size) |
| | Add consecutive rows. More...
|
| |
| void | addCol (const size_type &col, const size_type size) |
| | Add consecutive columns. More...
|
| |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateRows () |
| | Selectively recompute set of rows. More...
|
| |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateCols () |
| | Selectively recompute set of columns. More...
|
| |
| const RowIndices_t & | rows () const |
| | Return row indices. More...
|
| |
| const ColIndices_t & | cols () const |
| | Return column indices. More...
|
| |
| const size_type & | nbRows () const |
| | Return number of row indices. More...
|
| |
| const size_type & | nbCols () const |
| | Return number of column indices. More...
|
| |
| template<bool Sort, bool Shrink, bool Cardinal> |
| void | updateIndices () |
| |
| MatrixBlocks< _allRows, _allCols > const & | derived () const |
| |
| MatrixBlocks< _allRows, _allCols > & | derived () |
| |
| EIGEN_STRONG_INLINE View< MatrixType >::type | lview (const MatrixBase< MatrixType > &other) const |
| | Writable view of the smaller matrix. More...
|
| |
| EIGEN_STRONG_INLINE View< const MatrixType >::type | rview (const MatrixBase< MatrixType > &other) const |
| | Non-writable view of the smaller matrix. More...
|
| |
| MatrixBlocksRef< AllCols, AllRows > | transpose () const |
| |
| MatrixBlocksRef< AllRows, true > | keepRows () const |
| |
| MatrixBlocksRef< true, AllCols > | keepCols () const |
| |
| const segments_t & | indices () const |
| | Return row or column indices as a vector of segments. More...
|
| |
| const RowIndices_t & | rows () const |
| | Return row indices. More...
|
| |
| const ColIndices_t & | cols () const |
| | Return column indices. More...
|
| |
| const size_type & | nbIndices () const |
| | Return number of row or column indices. More...
|
| |
| const size_type & | nbRows () const |
| | Return number of row indices. More...
|
| |
| const size_type & | nbCols () const |
| | Return number of column indices. More...
|
| |
| MatrixBlocks< AllRows, AllCols > | block (size_type i, size_type j, size_type ni, size_type nj) const |
| | Extract a block. More...
|
| |
| MatrixBlocks< AllRows, AllCols > | middleRows (size_type i, size_type ni) const |
| | Extract a set of rows. More...
|
| |
| MatrixBlocks< AllRows, AllCols > | middleCols (size_type j, size_type nj) const |
| | Extract a set of cols. More...
|
| |
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.