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)
#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::const_iterator |
Definition at line 354 of file matrix_adaptors.h.
| typedef detail::ReverseAccessorIterator<const CConstMatrixRowAccessor<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessor::const_reverse_iterator |
Definition at line 355 of file matrix_adaptors.h.
Definition at line 343 of file matrix_adaptors.h.
Definition at line 342 of file matrix_adaptors.h.
| mrpt::math::CConstMatrixRowAccessor::CConstMatrixRowAccessor | ( | const MAT & | mat, |
| size_t | row | ||
| ) | [inline] |
Definition at line 347 of file matrix_adaptors.h.
References ASSERT_.
| mrpt::math::CConstMatrixRowAccessor::CConstMatrixRowAccessor | ( | ) | [inline] |
Definition at line 350 of file matrix_adaptors.h.
| const_iterator mrpt::math::CConstMatrixRowAccessor::begin | ( | ) | const [inline] |
Definition at line 356 of file matrix_adaptors.h.
Referenced by mrpt::math::CBinaryRelation::getRelationFrom().
| const_iterator mrpt::math::CConstMatrixRowAccessor::end | ( | ) | const [inline] |
Definition at line 359 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor::m_mat.
Referenced by mrpt::math::CBinaryRelation::getRelationFrom().
| value_type mrpt::math::CConstMatrixRowAccessor::operator[] | ( | size_t | i | ) | const [inline] |
Definition at line 351 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor::m_mat, and mrpt::math::CMatrixRowAccessor::m_rowInd.
| const_reverse_iterator mrpt::math::CConstMatrixRowAccessor::rbegin | ( | ) | const [inline] |
Definition at line 362 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor::m_mat.
| const_reverse_iterator mrpt::math::CConstMatrixRowAccessor::rend | ( | ) | const [inline] |
Definition at line 365 of file matrix_adaptors.h.
| void mrpt::math::CConstMatrixRowAccessor::resize | ( | size_t | N | ) | [inline] |
Definition at line 371 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor::size().
| size_t mrpt::math::CConstMatrixRowAccessor::size | ( | ) | const [inline] |
Definition at line 368 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor::m_mat.
const MAT* mrpt::math::CConstMatrixRowAccessor::m_mat [protected] |
Definition at line 339 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessor::m_rowInd [protected] |
Definition at line 340 of file matrix_adaptors.h.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |