A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing.
For usage with MRPT's CMatrixTemplate only (for MRPT numeric matrices, use Eigen methods)
Definition at line 384 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
typedef MAT::value_type | value_type |
typedef CConstMatrixRowAccessorExtended < MAT > | mrpt_autotype |
typedef detail::AccessorIterator < const CConstMatrixRowAccessorExtended < MAT >, const value_type > | const_iterator |
typedef detail::ReverseAccessorIterator < const CConstMatrixRowAccessorExtended < MAT >, const value_type > | const_reverse_iterator |
Public Member Functions | |
CConstMatrixRowAccessorExtended (const MAT &mat, size_t row, size_t offset, size_t space) | |
CConstMatrixRowAccessorExtended () | |
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 |
size_t | m_colOffset |
size_t | m_elementsSpace |
size_t | howMany |
typedef detail::AccessorIterator<const CConstMatrixRowAccessorExtended<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::const_iterator |
Definition at line 405 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CConstMatrixRowAccessorExtended<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::const_reverse_iterator |
Definition at line 406 of file matrix_adaptors.h.
typedef CConstMatrixRowAccessorExtended<MAT> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::mrpt_autotype |
Definition at line 393 of file matrix_adaptors.h.
typedef MAT::value_type mrpt::math::CConstMatrixRowAccessorExtended< MAT >::value_type |
Definition at line 392 of file matrix_adaptors.h.
mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended | ( | const MAT & | mat, |
size_t | row, | ||
size_t | offset, | ||
size_t | space | ||
) | [inline] |
Definition at line 397 of file matrix_adaptors.h.
References ASSERT_.
mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended | ( | ) | [inline] |
Definition at line 401 of file matrix_adaptors.h.
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::begin | ( | ) | const [inline] |
Definition at line 407 of file matrix_adaptors.h.
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::end | ( | ) | const [inline] |
Definition at line 410 of file matrix_adaptors.h.
value_type mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[] | ( | size_t | i ) | const [inline] |
Definition at line 402 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat, and mrpt::math::CMatrixRowAccessor< MAT >::m_rowInd.
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::rbegin | ( | ) | const [inline] |
Definition at line 413 of file matrix_adaptors.h.
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::rend | ( | ) | const [inline] |
Definition at line 416 of file matrix_adaptors.h.
void mrpt::math::CConstMatrixRowAccessorExtended< MAT >::resize | ( | size_t | N ) | [inline] |
Definition at line 422 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::size().
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::size | ( | ) | const [inline] |
Definition at line 419 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany [protected] |
Definition at line 390 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_colOffset [protected] |
Definition at line 388 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_elementsSpace [protected] |
Definition at line 389 of file matrix_adaptors.h.
const MAT* mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_mat [protected] |
Definition at line 386 of file matrix_adaptors.h.
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_rowInd [protected] |
Definition at line 387 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 |