#include <hpp/constraints/matrix-view.hh>
Classes | |
struct | View |
Smaller matrix composed by concatenation of the blocks. More... | |
Public Types | |
enum | { AllRows = internal::traits<Derived>::AllRows, AllCols = internal::traits<Derived>::AllCols, OneDimension = bool(AllRows) || bool(AllCols) } |
typedef hpp::constraints::size_type | size_type |
Index of vector or matrix. More... | |
typedef BlockIndex::segment_t | segment_t |
Interval of indices [first, first + second - 1]. More... | |
typedef BlockIndex::segments_t | segments_t |
vector of segments More... | |
typedef internal::traits< Derived >::RowIndices_t | RowIndices_t |
typedef internal::traits< Derived >::ColIndices_t | ColIndices_t |
Public Member Functions | |
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 _allRows should be false. More... | |
const ColIndices_t & | cols () const |
Return column indices _allCols should be false. More... | |
const size_type & | nbIndices () const |
Return number of row or column indices. More... | |
const size_type & | nbRows () const |
Return number of row indices _allRows should be false. More... | |
const size_type & | nbCols () const |
Return number of column indices _allCols should be false. 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... | |
Protected Member Functions | |
MatrixBlocksBase () | |
Empty constructor. More... | |
MatrixBlocksBase (const MatrixBlocksBase &) | |
Copy constructor. More... | |
typedef internal::traits<Derived>::ColIndices_t Eigen::MatrixBlocksBase< Derived >::ColIndices_t |
typedef internal::traits<Derived>::RowIndices_t Eigen::MatrixBlocksBase< Derived >::RowIndices_t |
typedef BlockIndex::segment_t Eigen::MatrixBlocksBase< Derived >::segment_t |
Interval of indices [first, first + second - 1].
typedef BlockIndex::segments_t Eigen::MatrixBlocksBase< Derived >::segments_t |
vector of segments
typedef hpp::constraints::size_type Eigen::MatrixBlocksBase< Derived >::size_type |
Index of vector or matrix.
|
inlineprotected |
Empty constructor.
|
inlineprotected |
Copy constructor.
|
inline |
Extract a block.
i,j,ni,nj | upper left corner and lengths of the block |
|
inline |
Return column indices _allCols should be false.
|
inline |
|
inline |
|
inline |
Return row or column indices as a vector of segments.
|
inline |
|
inline |
|
inline |
Writable view of the smaller matrix.
other | matrix to whick block are extracted |
|
inline |
Extract a set of cols.
i,ni | start and length of the set of rows |
|
inline |
Extract a set of rows.
i,ni | start and length of the set of rows |
|
inline |
Return number of column indices _allCols should be false.
|
inline |
Return number of row or column indices.
|
inline |
Return number of row indices _allRows should be false.
|
inline |
Return row indices _allRows should be false.
|
inline |
Non-writable view of the smaller matrix.
other | matrix to whick block are extracted |
|
inline |