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 337 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
| typedef MAT::value_type | 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 354 of file matrix_adaptors.h.
| typedef detail::ReverseAccessorIterator<const CConstMatrixRowAccessor<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessor< MAT >::const_reverse_iterator |
Definition at line 355 of file matrix_adaptors.h.
| typedef CConstMatrixRowAccessor<MAT> mrpt::math::CConstMatrixRowAccessor< MAT >::mrpt_autotype |
Definition at line 343 of file matrix_adaptors.h.
| typedef MAT::value_type mrpt::math::CConstMatrixRowAccessor< MAT >::value_type |
Definition at line 342 of file matrix_adaptors.h.
| mrpt::math::CConstMatrixRowAccessor< MAT >::CConstMatrixRowAccessor | ( | const MAT & | mat, |
| size_t | row | ||
| ) | [inline] |
Definition at line 347 of file matrix_adaptors.h.
References ASSERT_.
| mrpt::math::CConstMatrixRowAccessor< MAT >::CConstMatrixRowAccessor | ( | ) | [inline] |
Definition at line 350 of file matrix_adaptors.h.
| const_iterator mrpt::math::CConstMatrixRowAccessor< MAT >::begin | ( | ) | const [inline] |
Definition at line 356 of file matrix_adaptors.h.
Referenced by mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationFrom().
| const_iterator mrpt::math::CConstMatrixRowAccessor< MAT >::end | ( | ) | const [inline] |
Definition at line 359 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
Referenced by mrpt::math::CBinaryRelation< T, U, UIsObject >::getRelationFrom().
| value_type mrpt::math::CConstMatrixRowAccessor< MAT >::operator[] | ( | size_t | i ) | const [inline] |
Definition at line 351 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat, and mrpt::math::CMatrixRowAccessor< MAT >::m_rowInd.
| const_reverse_iterator mrpt::math::CConstMatrixRowAccessor< MAT >::rbegin | ( | ) | const [inline] |
Definition at line 362 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
| const_reverse_iterator mrpt::math::CConstMatrixRowAccessor< MAT >::rend | ( | ) | const [inline] |
Definition at line 365 of file matrix_adaptors.h.
| void mrpt::math::CConstMatrixRowAccessor< MAT >::resize | ( | size_t | N ) | [inline] |
Definition at line 371 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::size().
| size_t mrpt::math::CConstMatrixRowAccessor< MAT >::size | ( | ) | const [inline] |
Definition at line 368 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
const MAT* mrpt::math::CConstMatrixRowAccessor< MAT >::m_mat [protected] |
Definition at line 339 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessor< MAT >::m_rowInd [protected] |
Definition at line 340 of file matrix_adaptors.h.
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |