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 437 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 466 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator< const CConstMatrixRowAccessorExtended<MAT>, const value_type> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::const_reverse_iterator |
Definition at line 469 of file matrix_adaptors.h.
typedef CConstMatrixRowAccessorExtended<MAT> mrpt::math::CConstMatrixRowAccessorExtended< MAT >::mrpt_autotype |
Definition at line 448 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CConstMatrixRowAccessorExtended< MAT >::value_type |
Definition at line 447 of file matrix_adaptors.h.
|
inline |
|
inline |
Definition at line 459 of file matrix_adaptors.h.
|
inline |
Definition at line 470 of file matrix_adaptors.h.
|
inline |
Definition at line 471 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 460 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 472 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 476 of file matrix_adaptors.h.
|
inline |
Definition at line 481 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::size().
|
inline |
Definition at line 480 of file matrix_adaptors.h.
References mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::resize().
|
protected |
Definition at line 444 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 442 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 443 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::CConstMatrixRowAccessorExtended(), and mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 440 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 441 of file matrix_adaptors.h.
Referenced by mrpt::math::CConstMatrixRowAccessorExtended< 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 |