Template Class CConstMatrixColumnAccessor

Class Documentation

template<class MAT>
class CConstMatrixColumnAccessor

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

Public Types

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

Public Functions

inline CConstMatrixColumnAccessor(const MAT &mat, size_t colIdx)
inline CConstMatrixColumnAccessor()
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