Template Class CConstMatrixRowAccessor

Class Documentation

template<class MAT>
class CConstMatrixRowAccessor

A vector-like wrapper for a const 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)

Public Types

using value_type = typename MAT::Scalar
using mrpt_autotype = CConstMatrixRowAccessor<MAT>
using const_iterator = detail::AccessorIterator<const CConstMatrixRowAccessor<MAT>, const value_type>
using const_reverse_iterator = detail::ReverseAccessorIterator<const CConstMatrixRowAccessor<MAT>, const value_type>

Public Functions

inline CConstMatrixRowAccessor(const MAT &mat, size_t row)
inline CConstMatrixRowAccessor()
inline value_type operator[](size_t i) const
inline const_iterator begin() const
inline const_iterator end() const
inline const_reverse_iterator rbegin() const
inline const_reverse_iterator rend() const
inline size_t size() const
inline void resize(size_t N)

Protected Attributes

const MAT *m_mat
size_t m_rowInd