A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator.
For usage with MRPT's CMatrixTemplate only (for MRPT numeric matrices, use Eigen methods)
Definition at line 312 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
typedef MAT::Scalar | value_type |
typedef CConstMatrixRowAccessor< MAT > | mrpt_autotype |
typedef detail::AccessorIterator< const CConstMatrixRowAccessor< MAT >, const value_type > | const_iterator |
typedef detail::ReverseAccessorIterator< const CConstMatrixRowAccessor< MAT >, const value_type > | const_reverse_iterator |
Public Member Functions | |
CConstMatrixRowAccessor (const MAT &mat, size_t row) | |
CConstMatrixRowAccessor () | |
value_type | operator[] (size_t i) const |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
size_t | size () const |
void | resize (size_t N) |
Protected Attributes | |
const MAT * | m_mat |
size_t | m_rowInd |
typedef detail::AccessorIterator<const CConstMatrixRowAccessor<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessor< MAT >::const_iterator |
Definition at line 326 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CConstMatrixRowAccessor<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessor< MAT >::const_reverse_iterator |
Definition at line 327 of file matrix_adaptors.h.
typedef CConstMatrixRowAccessor<MAT> mrpt::math::CConstMatrixRowAccessor< MAT >::mrpt_autotype |
Definition at line 318 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CConstMatrixRowAccessor< MAT >::value_type |
Definition at line 317 of file matrix_adaptors.h.
|
inline |
Definition at line 319 of file matrix_adaptors.h.
References ASSERT_.
|
inline |
Definition at line 322 of file matrix_adaptors.h.
|
inline |
Definition at line 328 of file matrix_adaptors.h.
Referenced by mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationFrom().
|
inline |
Definition at line 331 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessor< MAT >::m_mat.
Referenced by mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationFrom().
|
inline |
Definition at line 323 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessor< MAT >::m_mat, and mrpt::math::CConstMatrixRowAccessor< MAT >::m_rowInd.
|
inline |
Definition at line 334 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessor< MAT >::m_mat.
|
inline |
Definition at line 337 of file matrix_adaptors.h.
|
inline |
Definition at line 343 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessor< MAT >::size().
|
inline |
Definition at line 340 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessor< MAT >::m_mat.
Referenced by mrpt::math::CConstMatrixRowAccessor< MAT >::resize().
|
protected |
|
protected |
Definition at line 315 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessor< MAT >::operator[]().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at mié abr 15 19:30:12 CEST 2020 |