hpp-constraints
4.9.1
Definition of basic geometric constraints for motion planning
|
#include <hpp/constraints/matrix-view.hh>
Public Member Functions | |
MatrixBlocks () | |
Empty constructor. More... | |
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. More... | |
void | clearRows () |
Clear rows. More... | |
void | clearCols () |
Clear cols. More... | |
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 () |
Public Member Functions inherited from Eigen::MatrixBlocksBase< MatrixBlocks< _allRows, _allCols > > | |
MatrixBlocks< _allRows, _allCols > const & | derived () const |
MatrixBlocks< _allRows, _allCols > & | derived () |
EIGEN_STRONG_INLINE View< MatrixType >::type | lview (const MatrixBase< MatrixType > &other) const |
EIGEN_STRONG_INLINE View< const MatrixType >::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 |
Public Attributes | |
size_type | m_nbRows |
size_type | m_nbCols |
RowIndices_t | m_rows |
ColIndices_t | m_cols |
Additional Inherited Members | |
Public Types inherited from Eigen::MatrixBlocksBase< MatrixBlocks< _allRows, _allCols > > | |
enum | |
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< MatrixBlocks< _allRows, _allCols > >::RowIndices_t | RowIndices_t |
typedef internal::traits< MatrixBlocks< _allRows, _allCols > >::ColIndices_t | ColIndices_t |
Protected Member Functions inherited from Eigen::MatrixBlocksBase< MatrixBlocks< _allRows, _allCols > > | |
MatrixBlocksBase () | |
Empty constructor. More... | |
MatrixBlocksBase (const MatrixBlocksBase &) | |
Copy constructor. More... | |
Collection of indices of matrix blocks
_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.
|
inline |
Empty constructor.
|
inline |
Constructor by vectors of segments
rows | set of row indices, |
cols | set of column indices, |
|
inline |
Constructor by vectors of segments
nbRows | number of rows, |
nbCols | number of columns, |
rows | set of row indices, |
cols | set of column indices, |
|
inline |
Constructor of single block
start | indice for row and column |
size | number of indices in the block (row and column) |
|
inline |
Constructor by a collection of indices
idx | collections of indices (for rows and columns) |
|
inline |
Constructor of a single block
idx | segment of row and column indices |
|
inline |
Copy constructor.
|
inline |
Add consecutive columns
col | first column to add |
size | number of columns to add |
|
inline |
Add consecutive rows
row | first row to add |
size | number of rows to add |
|
inline |
Clear cols.
|
inline |
Clear rows.
|
inline |
Return column indices
|
inline |
Return number of column indices
|
inline |
Return number of row indices
|
inline |
Return row indices
|
inline |
Selectively recompute set of columns
Sort | whether set of columns should be sorted, |
Shrink | whether set of columns should be shrunk, |
Cardinal | whether number of columns should be recomputed |
|
inline |
|
inline |
Selectively recompute set of rows
Sort | whether set of rows should be sorted, |
Shrink | whether set of rows should be shrunk, |
Cardinal | whether number of rows should be recomputed |
ColIndices_t Eigen::MatrixBlocks< _allRows, _allCols >::m_cols |
size_type Eigen::MatrixBlocks< _allRows, _allCols >::m_nbCols |
size_type Eigen::MatrixBlocks< _allRows, _allCols >::m_nbRows |
RowIndices_t Eigen::MatrixBlocks< _allRows, _allCols >::m_rows |