A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing.
Definition at line 457 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
typedef MAT::Scalar | value_type |
typedef CMatrixColumnAccessorExtended< MAT > | mrpt_autotype |
typedef detail::AccessorIterator< CMatrixColumnAccessorExtended< MAT >, value_type > | iterator |
typedef detail::AccessorIterator< const CMatrixColumnAccessorExtended< MAT >, const value_type > | const_iterator |
typedef detail::ReverseAccessorIterator< CMatrixColumnAccessorExtended< MAT >, value_type > | reverse_iterator |
typedef detail::ReverseAccessorIterator< const CMatrixColumnAccessorExtended< MAT >, const value_type > | const_reverse_iterator |
Public Member Functions | |
CMatrixColumnAccessorExtended (MAT &mat, size_t col, size_t offset, size_t space) | |
CMatrixColumnAccessorExtended () | |
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_colInd |
size_t | m_rowOffset |
size_t | m_elementsSpace |
size_t | howMany |
typedef detail::AccessorIterator<const CMatrixColumnAccessorExtended<MAT>,const value_type> mrpt::math::CMatrixColumnAccessorExtended< MAT >::const_iterator |
Definition at line 479 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<const CMatrixColumnAccessorExtended<MAT>,const value_type> mrpt::math::CMatrixColumnAccessorExtended< MAT >::const_reverse_iterator |
Definition at line 481 of file matrix_adaptors.h.
typedef detail::AccessorIterator<CMatrixColumnAccessorExtended<MAT>,value_type> mrpt::math::CMatrixColumnAccessorExtended< MAT >::iterator |
Definition at line 478 of file matrix_adaptors.h.
typedef CMatrixColumnAccessorExtended<MAT> mrpt::math::CMatrixColumnAccessorExtended< MAT >::mrpt_autotype |
Definition at line 466 of file matrix_adaptors.h.
typedef detail::ReverseAccessorIterator<CMatrixColumnAccessorExtended<MAT>,value_type> mrpt::math::CMatrixColumnAccessorExtended< MAT >::reverse_iterator |
Definition at line 480 of file matrix_adaptors.h.
typedef MAT::Scalar mrpt::math::CMatrixColumnAccessorExtended< MAT >::value_type |
Definition at line 465 of file matrix_adaptors.h.
|
inline |
|
inline |
Definition at line 471 of file matrix_adaptors.h.
|
inline |
Definition at line 482 of file matrix_adaptors.h.
|
inline |
Definition at line 485 of file matrix_adaptors.h.
|
inline |
Definition at line 488 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 491 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 472 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_colInd, mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_elementsSpace, mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_mat, and mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_rowOffset.
|
inline |
Definition at line 475 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_colInd, mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_elementsSpace, mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_mat, and mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_rowOffset.
|
inline |
Definition at line 494 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 497 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 500 of file matrix_adaptors.h.
|
inline |
Definition at line 503 of file matrix_adaptors.h.
|
inline |
Definition at line 509 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::size().
|
inline |
Definition at line 506 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::resize().
|
protected |
Definition at line 463 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended(), mrpt::math::CMatrixColumnAccessorExtended< MAT >::end(), mrpt::math::CMatrixColumnAccessorExtended< MAT >::rbegin(), and mrpt::math::CMatrixColumnAccessorExtended< MAT >::size().
|
protected |
Definition at line 460 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 462 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended(), and mrpt::math::CMatrixColumnAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 459 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 461 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended(), and mrpt::math::CMatrixColumnAccessorExtended< MAT >::operator[]().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |