MRPT
2.0.4
|
A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator.
Definition at line 488 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
using | value_type = typename MAT::Scalar |
using | mrpt_autotype = CMatrixColumnAccessor< MAT > |
using | iterator = detail::AccessorIterator< CMatrixColumnAccessor< MAT >, value_type > |
using | const_iterator = detail::AccessorIterator< const CMatrixColumnAccessor< MAT >, const value_type > |
using | reverse_iterator = detail::ReverseAccessorIterator< CMatrixColumnAccessor< MAT >, value_type > |
using | const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixColumnAccessor< MAT >, const value_type > |
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 |
using mrpt::math::CMatrixColumnAccessor< MAT >::const_iterator = detail::AccessorIterator< const CMatrixColumnAccessor<MAT>, const value_type> |
Definition at line 514 of file matrix_adaptors.h.
using mrpt::math::CMatrixColumnAccessor< MAT >::const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixColumnAccessor<MAT>, const value_type> |
Definition at line 518 of file matrix_adaptors.h.
using mrpt::math::CMatrixColumnAccessor< MAT >::iterator = detail::AccessorIterator<CMatrixColumnAccessor<MAT>, value_type> |
Definition at line 512 of file matrix_adaptors.h.
using mrpt::math::CMatrixColumnAccessor< MAT >::mrpt_autotype = CMatrixColumnAccessor<MAT> |
Definition at line 496 of file matrix_adaptors.h.
using mrpt::math::CMatrixColumnAccessor< MAT >::reverse_iterator = detail::ReverseAccessorIterator<CMatrixColumnAccessor<MAT>, value_type> |
Definition at line 516 of file matrix_adaptors.h.
using mrpt::math::CMatrixColumnAccessor< MAT >::value_type = typename MAT::Scalar |
Definition at line 495 of file matrix_adaptors.h.
|
inline |
Definition at line 497 of file matrix_adaptors.h.
References ASSERT_.
|
inline |
Definition at line 502 of file matrix_adaptors.h.
|
inline |
Definition at line 519 of file matrix_adaptors.h.
|
inline |
Definition at line 520 of file matrix_adaptors.h.
|
inline |
Definition at line 521 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 522 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 503 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 507 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_colInd, and mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 526 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 530 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
|
inline |
Definition at line 534 of file matrix_adaptors.h.
|
inline |
Definition at line 535 of file matrix_adaptors.h.
|
inline |
Definition at line 540 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::size().
|
inline |
Definition at line 539 of file matrix_adaptors.h.
References mrpt::math::CMatrixColumnAccessor< MAT >::m_mat.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::resize().
|
protected |
Definition at line 492 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixColumnAccessor< MAT >::operator[]().
|
protected |
Definition at line 491 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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |