MRPT
2.0.1
|
A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing.
For usage with MRPT's CMatrixDynamic only (for MRPT numeric matrices, use Eigen methods)
Definition at line 292 of file matrix_adaptors.h.
#include <mrpt/math/matrix_adaptors.h>
Public Types | |
using | value_type = typename MAT::Scalar |
using | mrpt_autotype = CMatrixRowAccessorExtended< MAT > |
using | iterator = detail::AccessorIterator< CMatrixRowAccessorExtended< MAT >, value_type > |
using | const_iterator = detail::AccessorIterator< const CMatrixRowAccessorExtended< MAT >, const value_type > |
using | reverse_iterator = detail::ReverseAccessorIterator< CMatrixRowAccessorExtended< MAT >, value_type > |
using | const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixRowAccessorExtended< MAT >, const value_type > |
Public Member Functions | |
CMatrixRowAccessorExtended (MAT &mat, size_t row, size_t offset, size_t space) | |
CMatrixRowAccessorExtended () | |
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_rowInd |
size_t | m_colOffset |
size_t | m_elementsSpace |
size_t | howMany |
using mrpt::math::CMatrixRowAccessorExtended< MAT >::const_iterator = detail::AccessorIterator< const CMatrixRowAccessorExtended<MAT>, const value_type> |
Definition at line 326 of file matrix_adaptors.h.
using mrpt::math::CMatrixRowAccessorExtended< MAT >::const_reverse_iterator = detail::ReverseAccessorIterator< const CMatrixRowAccessorExtended<MAT>, const value_type> |
Definition at line 330 of file matrix_adaptors.h.
using mrpt::math::CMatrixRowAccessorExtended< MAT >::iterator = detail::AccessorIterator<CMatrixRowAccessorExtended<MAT>, value_type> |
Definition at line 324 of file matrix_adaptors.h.
using mrpt::math::CMatrixRowAccessorExtended< MAT >::mrpt_autotype = CMatrixRowAccessorExtended<MAT> |
Definition at line 303 of file matrix_adaptors.h.
using mrpt::math::CMatrixRowAccessorExtended< MAT >::reverse_iterator = detail::ReverseAccessorIterator< CMatrixRowAccessorExtended<MAT>, value_type> |
Definition at line 328 of file matrix_adaptors.h.
using mrpt::math::CMatrixRowAccessorExtended< MAT >::value_type = typename MAT::Scalar |
Definition at line 302 of file matrix_adaptors.h.
|
inline |
Definition at line 304 of file matrix_adaptors.h.
References ASSERT_, mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany, mrpt::math::CMatrixRowAccessorExtended< MAT >::m_colOffset, and mrpt::math::CMatrixRowAccessorExtended< MAT >::m_elementsSpace.
|
inline |
Definition at line 314 of file matrix_adaptors.h.
|
inline |
Definition at line 331 of file matrix_adaptors.h.
|
inline |
Definition at line 332 of file matrix_adaptors.h.
|
inline |
Definition at line 333 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 334 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
|
inline |
|
inline |
Definition at line 335 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 339 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
|
inline |
Definition at line 343 of file matrix_adaptors.h.
|
inline |
Definition at line 344 of file matrix_adaptors.h.
|
inline |
Definition at line 349 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::size().
|
inline |
Definition at line 348 of file matrix_adaptors.h.
References mrpt::math::CMatrixRowAccessorExtended< MAT >::howMany.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::resize().
|
protected |
Definition at line 299 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), mrpt::math::CMatrixRowAccessorExtended< MAT >::end(), mrpt::math::CMatrixRowAccessorExtended< MAT >::rbegin(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::size().
|
protected |
Definition at line 297 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 298 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended(), and mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 295 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
|
protected |
Definition at line 296 of file matrix_adaptors.h.
Referenced by mrpt::math::CMatrixRowAccessorExtended< MAT >::operator[]().
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |