template class mrpt::math::CMatrixColumnAccessorExtendedΒΆ
A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing.
See also:
CMatrixRowAccessorExtended, CMatrixColumnAccessor, CConstMatrixColumnAccessor, CConstMatrixColumnAccessorExtended
#include <mrpt/math/matrix_adaptors.h> template <typename MAT> class CMatrixColumnAccessorExtended { public: // typedefs typedef typename MAT::Scalar value_type; typedef CMatrixColumnAccessorExtended<MAT> mrpt_autotype; typedef detail::AccessorIterator<CMatrixColumnAccessorExtended<MAT>, value_type> iterator; typedef detail::AccessorIterator<const CMatrixColumnAccessorExtended<MAT>, const value_type> const_iterator; typedef detail::ReverseAccessorIterator<CMatrixColumnAccessorExtended<MAT>, value_type> reverse_iterator; typedef detail::ReverseAccessorIterator<const CMatrixColumnAccessorExtended<MAT>, const value_type> const_reverse_iterator; // construction CMatrixColumnAccessorExtended( MAT& mat, size_t col, size_t offset, size_t space ); CMatrixColumnAccessorExtended(); // methods 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); };