Main MRPT website > C++ reference for MRPT 1.5.9
List of all members | Public Types | Public Member Functions | Protected Attributes
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 564 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

Public Types

typedef MAT::Scalar value_type
 
typedef CMatrixColumnAccessorExtended< MAT > mrpt_autotype
 
typedef detail::AccessorIterator< const CConstMatrixColumnAccessorExtended< MAT >, const value_typeconst_iterator
 
typedef detail::ReverseAccessorIterator< const CConstMatrixColumnAccessorExtended< MAT >, const value_typeconst_reverse_iterator
 

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

Definition at line 582 of file matrix_adaptors.h.

◆ const_reverse_iterator

Definition at line 583 of file matrix_adaptors.h.

◆ mrpt_autotype

Definition at line 573 of file matrix_adaptors.h.

◆ value_type

Definition at line 572 of file matrix_adaptors.h.

Constructor & Destructor Documentation

◆ CConstMatrixColumnAccessorExtended() [1/2]

template<typename MAT>
mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::CConstMatrixColumnAccessorExtended ( const MAT &  mat,
size_t  col,
size_t  offset,
size_t  space 
)
inline

◆ CConstMatrixColumnAccessorExtended() [2/2]

Definition at line 578 of file matrix_adaptors.h.

Member Function Documentation

◆ begin()

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

Definition at line 584 of file matrix_adaptors.h.

◆ end()

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

◆ operator[]()

template<typename MAT>
value_type mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::operator[] ( size_t  i) const
inline

◆ 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 593 of file matrix_adaptors.h.

◆ resize()

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

◆ size()

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

Member Data Documentation

◆ howMany

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

◆ m_colInd

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

◆ m_elementsSpace

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

◆ m_mat

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

◆ m_rowOffset

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



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020