MRPT  1.9.9
mrpt::math::CConstMatrixColumnAccessorExtended< MAT > Class Template Reference

Detailed Description

template<typename MAT>
class mrpt::math::CConstMatrixColumnAccessorExtended< MAT >

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

See also
CConstMatrixRowAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessor,CMatrixColumnAccessorExtended

Definition at line 690 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

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 Member Functions

 CConstMatrixColumnAccessorExtended (const MAT &mat, size_t col, size_t offset, size_t space)
 
 CConstMatrixColumnAccessorExtended ()
 
value_type operator[] (size_t i) const
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
size_t size () const
 
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
 

Member Typedef Documentation

◆ const_iterator

◆ const_reverse_iterator

◆ mrpt_autotype

Definition at line 701 of file matrix_adaptors.h.

◆ value_type

template<typename MAT>
using mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::value_type = typename MAT::Scalar

Definition at line 700 of file matrix_adaptors.h.

Constructor & Destructor Documentation

◆ CConstMatrixColumnAccessorExtended() [1/2]

◆ CConstMatrixColumnAccessorExtended() [2/2]

Definition at line 712 of file matrix_adaptors.h.

Member Function Documentation

◆ begin()

template<typename MAT>
const_iterator mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::begin ( ) const
inline

Definition at line 721 of file matrix_adaptors.h.

◆ end()

◆ operator[]()

◆ rbegin()

template<typename MAT>
const_reverse_iterator mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::rbegin ( ) const
inline

◆ rend()

template<typename MAT>
const_reverse_iterator mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::rend ( ) const
inline

Definition at line 727 of file matrix_adaptors.h.

◆ resize()

template<typename MAT>
void mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::resize ( size_t  N)
inline

Definition at line 732 of file matrix_adaptors.h.

References mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::size().

Here is the call graph for this function:

◆ size()

template<typename MAT>
size_t mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::size ( ) const
inline

Definition at line 731 of file matrix_adaptors.h.

References mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::howMany.

Referenced by mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::resize().

Here is the caller graph for this function:

Member Data Documentation

◆ howMany

◆ m_colInd

template<typename MAT>
size_t mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::m_colInd
protected

◆ m_elementsSpace

◆ m_mat

template<typename MAT>
const MAT* mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::m_mat
protected

◆ m_rowOffset




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019