Main MRPT website > C++ reference
MRPT logo

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

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

#include <mrpt/math/CMatrixViews.h>

List of all members.

Public Types

typedef MAT::value_type value_type
typedef
CMatrixColumnAccessorExtended
< MAT > 
mrpt_autotype
typedef
detail::AccessorIterator
< const
CConstMatrixColumnAccessorExtended
< MAT >, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< const
CConstMatrixColumnAccessorExtended
< MAT >, const value_type
const_reverse_iterator

Public Member Functions

DECLARE_MRPT_CONTAINER_TYPES
DECLARE_MRPT_CONTAINER_IS_VECTOR 
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

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 835 of file CMatrixViews.h.


Member Typedef Documentation

Definition at line 856 of file CMatrixViews.h.

Definition at line 857 of file CMatrixViews.h.

Definition at line 844 of file CMatrixViews.h.

template<typename MAT>
typedef MAT::value_type mrpt::math::CConstMatrixColumnAccessorExtended< MAT >::value_type

Definition at line 843 of file CMatrixViews.h.


Constructor & Destructor Documentation

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

Definition at line 848 of file CMatrixViews.h.

References ASSERT_.

Definition at line 852 of file CMatrixViews.h.


Member Function Documentation

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

Definition at line 858 of file CMatrixViews.h.

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

Definition at line 861 of file CMatrixViews.h.

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

Definition at line 864 of file CMatrixViews.h.

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

Definition at line 867 of file CMatrixViews.h.

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

Definition at line 873 of file CMatrixViews.h.

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

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

Definition at line 870 of file CMatrixViews.h.


Member Data Documentation

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

Definition at line 841 of file CMatrixViews.h.

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

Definition at line 838 of file CMatrixViews.h.

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

Definition at line 840 of file CMatrixViews.h.

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

Definition at line 837 of file CMatrixViews.h.

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

Definition at line 839 of file CMatrixViews.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010