A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator.
Definition at line 403 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 415 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CMatrixColumnAccessor<MAT>,const value_type> mrpt::math::CMatrixColumnAccessor< MAT >::const_reverse_iterator |
Definition at line 417 of file matrix_adaptors.h.
typedef detail::AccessorIterator<CMatrixColumnAccessor<MAT>,value_type> mrpt::math::CMatrixColumnAccessor< MAT >::iterator |
Definition at line 414 of file matrix_adaptors.h.
typedef CMatrixColumnAccessor<MAT> mrpt::math::CMatrixColumnAccessor< MAT >::mrpt_autotype |
Definition at line 409 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<CMatrixColumnAccessor<MAT>,value_type> mrpt::math::CMatrixColumnAccessor< MAT >::reverse_iterator |
Definition at line 416 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CMatrixColumnAccessor< MAT >::value_type |
Definition at line 408 of file matrix_adaptors.h.
|
inline |
Definition at line 410 of file matrix_adaptors.h.
References ASSERT_.
|
inline |
Definition at line 411 of file matrix_adaptors.h.
|
inline |
Definition at line 418 of file matrix_adaptors.h.
|
inline |
Definition at line 421 of file matrix_adaptors.h.
|
inline |
Definition at line 424 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 427 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 412 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 413 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 430 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 433 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 436 of file matrix_adaptors.h.
|
inline |
Definition at line 439 of file matrix_adaptors.h.
|
inline |
Definition at line 445 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::size().
|
inline |
Definition at line 442 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::resize().
|
protected |
Definition at line 406 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::operator[]().
|
protected |
Definition at line 405 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.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |