A vector-like wrapper for a 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 296 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
| typedef MAT::Scalar | value_type |
| typedef CMatrixRowAccessorExtended< MAT > | mrpt_autotype |
| typedef detail::AccessorIterator< CMatrixRowAccessorExtended< MAT >, value_type > | iterator |
| typedef detail::AccessorIterator< const CMatrixRowAccessorExtended< MAT >, const value_type > | const_iterator |
| typedef detail::ReverseAccessorIterator< CMatrixRowAccessorExtended< MAT >, value_type > | reverse_iterator |
| typedef detail::ReverseAccessorIterator< const CMatrixRowAccessorExtended< MAT >, const value_type > | const_reverse_iterator |
Public Member Functions | |
| CMatrixRowAccessorExtended (MAT &mat, size_t row, size_t offset, size_t space) | |
| CMatrixRowAccessorExtended () | |
| value_type & | operator[] (size_t i) |
| value_type | operator[] (size_t i) const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| size_t | size () const |
| void | resize (size_t N) |
Protected Attributes | |
| MAT * | m_mat |
| size_t | m_rowInd |
| size_t | m_colOffset |
| size_t | m_elementsSpace |
| size_t | howMany |
| typedef detail::AccessorIterator<const CMatrixRowAccessorExtended<MAT>, const value_type> mrpt::math::CMatrixRowAccessorExtended< MAT >::const_iterator |
Definition at line 332 of file matrix_adaptors.h.
| typedef detail::ReverseAccessorIterator< const CMatrixRowAccessorExtended<MAT>, const value_type> mrpt::math::CMatrixRowAccessorExtended< MAT >::const_reverse_iterator |
Definition at line 338 of file matrix_adaptors.h.
| typedef detail::AccessorIterator<CMatrixRowAccessorExtended<MAT>, value_type> mrpt::math::CMatrixRowAccessorExtended< MAT >::iterator |
Definition at line 329 of file matrix_adaptors.h.
| typedef CMatrixRowAccessorExtended<MAT> mrpt::math::CMatrixRowAccessorExtended< MAT >::mrpt_autotype |
Definition at line 307 of file matrix_adaptors.h.
| typedef detail::ReverseAccessorIterator<CMatrixRowAccessorExtended<MAT>, value_type> mrpt::math::CMatrixRowAccessorExtended< MAT >::reverse_iterator |
Definition at line 335 of file matrix_adaptors.h.
| typedef MAT::Scalar mrpt::math::CMatrixRowAccessorExtended< MAT >::value_type |
Definition at line 306 of file matrix_adaptors.h.
|
inline |
Definition at line 308 of file matrix_adaptors.h.
References ASSERT_, mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany, mrpt::math::CMatrixRowAccessorExtended< MAT >::m_colOffset, and mrpt::math::CMatrixRowAccessorExtended< MAT >::m_elementsSpace.
|
inline |
Definition at line 318 of file matrix_adaptors.h.
|
inline |
Definition at line 339 of file matrix_adaptors.h.
|
inline |
Definition at line 340 of file matrix_adaptors.h.
|
inline |
Definition at line 341 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 342 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
|
inline |
|
inline |
Definition at line 343 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 347 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 351 of file matrix_adaptors.h.
|
inline |
Definition at line 352 of file matrix_adaptors.h.
|
inline |
Definition at line 357 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::size().

|
inline |
Definition at line 356 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::resize().

|
protected |
Definition at line 303 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), mrpt::math::CMatrixRowAccessorExtended< MAT >::end(), mrpt::math::CMatrixRowAccessorExtended< MAT >::rbegin(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::size().
|
protected |
Definition at line 301 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 302 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 299 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 300 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |