A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator.
Definition at line 500 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
typedef MAT::Scalar | value_type |
typedef CMatrixColumnAccessor< MAT > | mrpt_autotype |
typedef detail::AccessorIterator< CMatrixColumnAccessor< MAT >, value_type > | iterator |
typedef detail::AccessorIterator< const CMatrixColumnAccessor< MAT >, const value_type > | const_iterator |
typedef detail::ReverseAccessorIterator< CMatrixColumnAccessor< MAT >, value_type > | reverse_iterator |
typedef detail::ReverseAccessorIterator< const CMatrixColumnAccessor< MAT >, const value_type > | const_reverse_iterator |
Public Member Functions | |
CMatrixColumnAccessor (MAT &mat, size_t colIdx) | |
CMatrixColumnAccessor () | |
value_type & | operator[] (const size_t i) |
value_type | operator[] (const 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_colInd |
typedef detail::AccessorIterator<const CMatrixColumnAccessor<MAT>, const value_type> mrpt::math::CMatrixColumnAccessor< MAT >::const_iterator |
Definition at line 527 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CMatrixColumnAccessor<MAT>, const value_type> mrpt::math::CMatrixColumnAccessor< MAT >::const_reverse_iterator |
Definition at line 533 of file matrix_adaptors.h.
typedef detail::AccessorIterator<CMatrixColumnAccessor<MAT>, value_type> mrpt::math::CMatrixColumnAccessor< MAT >::iterator |
Definition at line 524 of file matrix_adaptors.h.
typedef CMatrixColumnAccessor<MAT> mrpt::math::CMatrixColumnAccessor< MAT >::mrpt_autotype |
Definition at line 508 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<CMatrixColumnAccessor<MAT>, value_type> mrpt::math::CMatrixColumnAccessor< MAT >::reverse_iterator |
Definition at line 530 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CMatrixColumnAccessor< MAT >::value_type |
Definition at line 507 of file matrix_adaptors.h.
|
inline |
Definition at line 509 of file matrix_adaptors.h.
References ASSERT_.
|
inline |
Definition at line 514 of file matrix_adaptors.h.
|
inline |
Definition at line 534 of file matrix_adaptors.h.
|
inline |
Definition at line 535 of file matrix_adaptors.h.
|
inline |
Definition at line 536 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 537 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 515 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 519 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 541 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 545 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 549 of file matrix_adaptors.h.
|
inline |
Definition at line 550 of file matrix_adaptors.h.
|
inline |
Definition at line 555 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::size().
|
inline |
Definition at line 554 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::resize().
|
protected |
Definition at line 504 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::operator[]().
|
protected |
Definition at line 503 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::end(), mrpt::math::CMatrixColumnAccessor< MAT >::operator[](), mrpt::math::CMatrixColumnAccessor< MAT >::rbegin(), and mrpt::math::CMatrixColumnAccessor< MAT >::size().
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 |