#include <hpp/constraints/matrix-view.hh>
|
| struct | View |
| | Smaller matrix composed by concatenation of the blocks. More...
|
| |
|
| Derived const & | derived () const |
| |
| Derived & | derived () |
| |
| template<typename MatrixType > |
| EIGEN_STRONG_INLINE View< MatrixType >::type | lview (const MatrixBase< MatrixType > &other) const |
| | Writable view of the smaller matrix. More...
|
| |
| template<typename MatrixType > |
| 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...
|
| |
◆ ColIndices_t
template<typename Derived>
◆ RowIndices_t
template<typename Derived>
◆ segment_t
template<typename Derived>
Interval of indices [first, first + second - 1].
◆ segments_t
template<typename Derived>
◆ size_type
template<typename Derived>
Index of vector or matrix.
◆ anonymous enum
template<typename Derived>
| Enumerator |
|---|
| AllRows | |
| AllCols | |
| OneDimension | |
◆ MatrixBlocksBase() [1/2]
template<typename Derived>
◆ MatrixBlocksBase() [2/2]
template<typename Derived>
◆ block()
template<typename Derived>
Extract a block.
- Parameters
-
| i,j,ni,nj | upper left corner and lengths of the block |
- Returns
- new instance
◆ cols()
template<typename Derived>
Return column indices.
- Warning
- _allCols should be false
◆ derived() [1/2]
template<typename Derived>
◆ derived() [2/2]
template<typename Derived>
◆ indices()
template<typename Derived>
Return row or column indices as a vector of segments.
- Returns
- rows indices if not all rows are selected (see template parameter _allRows), column indices if all rows are selected.
◆ keepCols()
template<typename Derived>
◆ keepRows()
template<typename Derived>
◆ lview()
template<typename Derived>
template<typename MatrixType >
Writable view of the smaller matrix.
- Parameters
-
| other | matrix to whick block are extracted |
- Returns
- writable view of the smaller matrix composed by concatenation of blocks.
◆ middleCols()
template<typename Derived>
Extract a set of cols.
- Parameters
-
| j,nj | start and length of the set of rows |
- Returns
- new instance
◆ middleRows()
template<typename Derived>
Extract a set of rows.
- Parameters
-
| i,ni | start and length of the set of rows |
- Returns
- new instance
◆ nbCols()
template<typename Derived>
Return number of column indices.
- Warning
- _allCols should be false
◆ nbIndices()
template<typename Derived>
Return number of row or column indices.
- Returns
- number of rows indices if not all rows are selected (see template parameter _allRows), number of column indices if all rows are selected.
◆ nbRows()
template<typename Derived>
Return number of row indices.
- Warning
- _allRows should be false
◆ rows()
template<typename Derived>
Return row indices.
- Warning
- _allRows should be false
◆ rview()
template<typename Derived>
template<typename MatrixType >
| EIGEN_STRONG_INLINE View<const MatrixType>::type Eigen::MatrixBlocksBase< Derived >::rview |
( |
const MatrixBase< MatrixType > & |
other | ) |
const |
|
inline |
Non-writable view of the smaller matrix.
- Parameters
-
| other | matrix to whick block are extracted |
- Returns
- non-writable view of the smaller matrix composed by concatenation of blocks.
◆ transpose()
template<typename Derived>