|
MRPT
1.9.9
|
A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator.
For usage with MRPT's CMatrixDynamic only (for MRPT numeric matrices, use Eigen methods)
Definition at line 220 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
| using | value_type = typename MAT::Scalar |
| using | mrpt_autotype = CMatrixRowAccessor< MAT > |
| using | iterator = detail::AccessorIterator< CMatrixRowAccessor< MAT >, value_type > |
| using | const_iterator = detail::AccessorIterator< const CMatrixRowAccessor< MAT >, const value_type > |
| using | reverse_iterator = detail::ReverseAccessorIterator< CMatrixRowAccessor< MAT >, value_type > |
| using | const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixRowAccessor< MAT >, const value_type > |
Public Member Functions | |
| CMatrixRowAccessor (MAT &mat, size_t rowIdx) | |
| CMatrixRowAccessor () | |
| 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_rowInd |
| using mrpt::math::CMatrixRowAccessor< MAT >::const_iterator = detail::AccessorIterator< const CMatrixRowAccessor<MAT>, const value_type> |
Definition at line 246 of file matrix_adaptors.h.
| using mrpt::math::CMatrixRowAccessor< MAT >::const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixRowAccessor<MAT>, const value_type> |
Definition at line 250 of file matrix_adaptors.h.
| using mrpt::math::CMatrixRowAccessor< MAT >::iterator = detail::AccessorIterator<CMatrixRowAccessor<MAT>, value_type> |
Definition at line 244 of file matrix_adaptors.h.
| using mrpt::math::CMatrixRowAccessor< MAT >::mrpt_autotype = CMatrixRowAccessor<MAT> |
Definition at line 228 of file matrix_adaptors.h.
| using mrpt::math::CMatrixRowAccessor< MAT >::reverse_iterator = detail::ReverseAccessorIterator<CMatrixRowAccessor<MAT>, value_type> |
Definition at line 248 of file matrix_adaptors.h.
| using mrpt::math::CMatrixRowAccessor< MAT >::value_type = typename MAT::Scalar |
Definition at line 227 of file matrix_adaptors.h.
|
inline |
Definition at line 229 of file matrix_adaptors.h.
References ASSERT_.
|
inline |
Definition at line 234 of file matrix_adaptors.h.
|
inline |
Definition at line 251 of file matrix_adaptors.h.
|
inline |
Definition at line 252 of file matrix_adaptors.h.
|
inline |
Definition at line 253 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
|
inline |
Definition at line 254 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
|
inline |
Definition at line 235 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat, and mrpt::math::CMatrixRowAccessor< MAT >::m_rowInd.
|
inline |
Definition at line 239 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat, and mrpt::math::CMatrixRowAccessor< MAT >::m_rowInd.
|
inline |
Definition at line 258 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
|
inline |
Definition at line 262 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
|
inline |
Definition at line 266 of file matrix_adaptors.h.
|
inline |
Definition at line 267 of file matrix_adaptors.h.
|
inline |
Definition at line 272 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::size().
|
inline |
Definition at line 271 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessor< MAT >::m_mat.
Referenced by mrpt::math::CMatrixRowAccessor< MAT >::resize().
|
protected |
Definition at line 223 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessor< MAT >::end(), mrpt::math::CMatrixRowAccessor< MAT >::operator[](), mrpt::math::CMatrixRowAccessor< MAT >::rbegin(), and mrpt::math::CMatrixRowAccessor< MAT >::size().
|
protected |
Definition at line 224 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessor< MAT >::operator[]().
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |