hpp-constraints
4.9.1
Definition of basic geometric constraints for motion planning
|
#include <hpp/constraints/matrix-view.hh>
Classes | |
struct | block_iterator |
struct | block_t |
Public Types | |
enum | { Rows = _Rows, Cols = _Cols, AllRows = _allRows, AllCols = _allCols } |
typedef hpp::constraints::size_type | size_type |
typedef MatrixBase< MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols > > | Base |
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | PlainObject |
typedef _ArgType | ArgType |
typedef internal::ref_selector< ArgType >::type | ArgTypeNested |
typedef internal::remove_all< ArgType >::type | NestedExpression |
typedef block_t< ArgType >::type | BlockXprType |
typedef block_t< const ArgType >::type | BlockConstXprType |
typedef MatrixBlocks< _allRows, _allCols > | MatrixIndices_t |
typedef MatrixIndices_t::segments_t | Indices_t |
typedef internal::conditional< _allRows, const internal::empty_struct, const Indices_t &>::type | RowIndices_t |
typedef internal::conditional< _allCols, const internal::empty_struct, const Indices_t &>::type | ColIndices_t |
Public Member Functions | |
MatrixBlockView (ArgType &arg, const size_type &nbRows, const RowIndices_t rows, const size_type &nbCols, const ColIndices_t cols) | |
MatrixBlockView (ArgType &arg, const size_type &nbIndices, const Indices_t &indices) | |
Valid only when _allRows or _allCols is true. More... | |
EIGEN_STRONG_INLINE size_type | rows () const |
EIGEN_STRONG_INLINE size_type | cols () const |
EIGEN_STRONG_INLINE CoeffReturnType | coeff (size_type index) const |
EIGEN_STRONG_INLINE CoeffReturnType | coeff (size_type row, size_type col) const |
EIGEN_STRONG_INLINE Scalar & | coeffRef (size_type index) |
EIGEN_STRONG_INLINE Scalar & | coeffRef (size_type row, const size_type &col) |
template<typename Dest > | |
EIGEN_STRONG_INLINE void | evalTo (Dest &dst) const |
template<typename Dest > | |
EIGEN_STRONG_INLINE void | writeTo (Dest &dst) const |
EIGEN_STRONG_INLINE PlainObject | eval () const |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE MatrixBlockView & | operator= (const EigenBase< OtherDerived > &other) |
EIGEN_STRONG_INLINE size_type | _blocks () const |
EIGEN_STRONG_INLINE BlockXprType | _block (const block_iterator &b) |
EIGEN_STRONG_INLINE const BlockConstXprType | _block (const block_iterator &b) const |
EIGEN_STRONG_INLINE block_iterator | _block_iterator () const |
EIGEN_STRONG_INLINE bool | isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
Public Attributes | |
ArgType & | m_arg |
size_type | m_nbRows |
RowIndices_t | m_rows |
size_type | m_nbCols |
ColIndices_t | m_cols |
A view of an Eigen matrix.
Instances of MatrixBlockView are easily built from a MatrixBlocks object.
As of the date of this documentation, this class does not support all operations on matrices. See tests/matrix-view.cc for a list of supported features.
Although it is usually not useful to iterate over the blocks, it is possible to do it as follows:
typedef _ArgType Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::ArgType |
typedef internal::ref_selector<ArgType>::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::ArgTypeNested |
typedef MatrixBase< MatrixBlockView<_ArgType, _Rows, _Cols, _allRows, _allCols> > Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::Base |
typedef block_t<const ArgType>::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::BlockConstXprType |
typedef block_t<ArgType>::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::BlockXprType |
typedef internal::conditional<_allCols, const internal::empty_struct, const Indices_t& >::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::ColIndices_t |
typedef MatrixIndices_t::segments_t Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::Indices_t |
typedef MatrixBlocks<_allRows, _allCols> Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::MatrixIndices_t |
typedef internal::remove_all<ArgType>::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::NestedExpression |
typedef Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::PlainObject |
typedef internal::conditional<_allRows, const internal::empty_struct, const Indices_t& >::type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::RowIndices_t |
typedef hpp::constraints::size_type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::size_type |
anonymous enum |
|
inline |
|
inline |
Valid only when _allRows or _allCols is true.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ArgType& Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::m_arg |
ColIndices_t Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::m_cols |
size_type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::m_nbCols |
size_type Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::m_nbRows |
RowIndices_t Eigen::MatrixBlockView< _ArgType, _Rows, _Cols, _allRows, _allCols >::m_rows |