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 356 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
typedef MAT::Scalar | 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 374 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CConstMatrixRowAccessorExtended<MAT>,const value_type> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::const_reverse_iterator |
Definition at line 375 of file matrix_adaptors.h.
typedef CConstMatrixRowAccessorExtended<MAT> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::mrpt_autotype |
Definition at line 365 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CConstMatrixRowAccessorExtended< MAT >::value_type |
Definition at line 364 of file matrix_adaptors.h.
|
inline |
|
inline |
Definition at line 370 of file matrix_adaptors.h.
|
inline |
Definition at line 376 of file matrix_adaptors.h.
|
inline |
Definition at line 379 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 371 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_colOffset, mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_elementsSpace, mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_mat, and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_rowInd.
|
inline |
Definition at line 382 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 385 of file matrix_adaptors.h.
|
inline |
Definition at line 391 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::size().
|
inline |
Definition at line 388 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::resize().
|
protected |
Definition at line 362 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), mrpt::math::CConstMatrixRowAccessorExtended< MAT >::end(), mrpt::math::CConstMatrixRowAccessorExtended< MAT >::rbegin(), and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::size().
|
protected |
Definition at line 360 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 361 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 358 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 359 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< 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 |