Main MRPT website > C++ reference
MRPT logo

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

A vector-like wrapper for a 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
< 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

Public Member Functions

DECLARE_MRPT_CONTAINER_TYPES
DECLARE_MRPT_CONTAINER_IS_VECTOR 
CMatrixColumnAccessorExtended (MAT &mat, size_t col, size_t offset, size_t space)
 CMatrixColumnAccessorExtended ()
value_typeoperator[] (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)

Protected Attributes

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::CMatrixColumnAccessorExtended< MAT >

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

Definition at line 722 of file CMatrixViews.h.


Member Typedef Documentation

Definition at line 747 of file CMatrixViews.h.

Definition at line 749 of file CMatrixViews.h.

Definition at line 746 of file CMatrixViews.h.

Definition at line 731 of file CMatrixViews.h.

Definition at line 748 of file CMatrixViews.h.

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

Definition at line 730 of file CMatrixViews.h.


Constructor & Destructor Documentation

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

Definition at line 735 of file CMatrixViews.h.

References ASSERT_.

template<typename MAT>
mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended (  )  [inline]

Definition at line 739 of file CMatrixViews.h.


Member Function Documentation

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

Definition at line 753 of file CMatrixViews.h.

template<typename MAT>
iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::begin (  )  [inline]

Definition at line 750 of file CMatrixViews.h.

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

Definition at line 759 of file CMatrixViews.h.

template<typename MAT>
iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::end (  )  [inline]

Definition at line 756 of file CMatrixViews.h.

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

Definition at line 765 of file CMatrixViews.h.

template<typename MAT>
reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rbegin (  )  [inline]

Definition at line 762 of file CMatrixViews.h.

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

Definition at line 771 of file CMatrixViews.h.

template<typename MAT>
reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rend (  )  [inline]

Definition at line 768 of file CMatrixViews.h.

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

Definition at line 777 of file CMatrixViews.h.

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

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

Definition at line 774 of file CMatrixViews.h.


Member Data Documentation

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

Definition at line 728 of file CMatrixViews.h.

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

Definition at line 725 of file CMatrixViews.h.

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

Definition at line 727 of file CMatrixViews.h.

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

Definition at line 724 of file CMatrixViews.h.

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

Definition at line 726 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