Template Class CMatrixRowAccessor
Defined in File matrix_adaptors.h
Class Documentation
-
template<typename MAT>
class CMatrixRowAccessor 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)
See also
CMatrixColumnAccessor,CMatrixRowAccessorExtended,CConstMatrixRowAccessor,CConstMatrixRowAccessorExtended
Public Types
-
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 Functions
-
inline CMatrixRowAccessor()
-
inline value_type &operator[](const size_t i)
-
inline value_type operator[](const size_t i) const
-
inline const_iterator begin() const
-
inline const_iterator end() const
-
inline reverse_iterator rbegin()
-
inline const_reverse_iterator rbegin() const
-
inline reverse_iterator rend()
-
inline const_reverse_iterator rend() const
-
inline size_t size() const
-
inline void resize(size_t N)
-
using mrpt_autotype = CMatrixRowAccessor<MAT>