Template Class CConstMatrixColumnAccessorExtended

Class Documentation

template<typename MAT>
class CConstMatrixColumnAccessorExtended

A vector-like wrapper for a const Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing.

Public Types

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

Public Functions

inline CConstMatrixColumnAccessorExtended(const MAT &mat, size_t col, size_t offset, size_t space)
inline CConstMatrixColumnAccessorExtended()
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_colInd
size_t m_rowOffset
size_t m_elementsSpace
size_t howMany