MRPT logo

mrpt::math::CMatrixRowAccessorExtended< T > Class Template Reference

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

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Types

typedef AccessorIterator
< CMatrixRowAccessorExtended
< T >, T > 
iterator
typedef AccessorIterator
< const
CMatrixRowAccessorExtended< T >
, const T > 
const_iterator
typedef
ReverseAccessorIterator
< CMatrixRowAccessorExtended
< T >, T > 
reverse_iterator
typedef
ReverseAccessorIterator< const
CMatrixRowAccessorExtended< T >
, const T > 
const_reverse_iterator

Public Member Functions

 CMatrixRowAccessorExtended (CMatrixTemplate< T > &mat, size_t row, size_t offset, size_t space)
 CMatrixRowAccessorExtended ()
T & operator[] (size_t i)
const T & 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

Protected Attributes

CMatrixTemplate< T > * m_mat
size_t m_rowInd
size_t m_colOffset
size_t m_elementsSpace
size_t howMany

Detailed Description

template<class T>
class mrpt::math::CMatrixRowAccessorExtended< T >

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

See also:
CMatrixColumnAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessor,CConstMatrixRowAccessorExtended

Definition at line 2069 of file CMatrixTemplate.h.


Member Typedef Documentation

Definition at line 2089 of file CMatrixTemplate.h.

Definition at line 2091 of file CMatrixTemplate.h.

Definition at line 2088 of file CMatrixTemplate.h.

Definition at line 2090 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

template<class T >
mrpt::math::CMatrixRowAccessorExtended< T >::CMatrixRowAccessorExtended ( CMatrixTemplate< T > &  mat,
size_t  row,
size_t  offset,
size_t  space 
) [inline]
template<class T >
mrpt::math::CMatrixRowAccessorExtended< T >::CMatrixRowAccessorExtended (  )  [inline]

Definition at line 2081 of file CMatrixTemplate.h.


Member Function Documentation

template<class T >
const_iterator mrpt::math::CMatrixRowAccessorExtended< T >::begin (  )  const [inline]

Definition at line 2095 of file CMatrixTemplate.h.

template<class T >
iterator mrpt::math::CMatrixRowAccessorExtended< T >::begin (  )  [inline]

Definition at line 2092 of file CMatrixTemplate.h.

template<class T >
const_iterator mrpt::math::CMatrixRowAccessorExtended< T >::end (  )  const [inline]

Definition at line 2101 of file CMatrixTemplate.h.

template<class T >
iterator mrpt::math::CMatrixRowAccessorExtended< T >::end (  )  [inline]

Definition at line 2098 of file CMatrixTemplate.h.

template<class T >
const T& mrpt::math::CMatrixRowAccessorExtended< T >::operator[] ( size_t  i  )  const [inline]

Definition at line 2085 of file CMatrixTemplate.h.

References mrpt::math::CMatrixColumnAccessor< T >::m_mat.

template<class T >
T& mrpt::math::CMatrixRowAccessorExtended< T >::operator[] ( size_t  i  )  [inline]

Definition at line 2082 of file CMatrixTemplate.h.

References mrpt::math::CMatrixColumnAccessor< T >::m_mat.

template<class T >
const_reverse_iterator mrpt::math::CMatrixRowAccessorExtended< T >::rbegin (  )  const [inline]

Definition at line 2107 of file CMatrixTemplate.h.

template<class T >
reverse_iterator mrpt::math::CMatrixRowAccessorExtended< T >::rbegin (  )  [inline]

Definition at line 2104 of file CMatrixTemplate.h.

template<class T >
const_reverse_iterator mrpt::math::CMatrixRowAccessorExtended< T >::rend (  )  const [inline]

Definition at line 2113 of file CMatrixTemplate.h.

template<class T >
reverse_iterator mrpt::math::CMatrixRowAccessorExtended< T >::rend (  )  [inline]

Definition at line 2110 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CMatrixRowAccessorExtended< T >::size (  )  const [inline]

Definition at line 2116 of file CMatrixTemplate.h.


Member Data Documentation

template<class T >
size_t mrpt::math::CMatrixRowAccessorExtended< T >::howMany [protected]

Definition at line 2075 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CMatrixRowAccessorExtended< T >::m_colOffset [protected]

Definition at line 2073 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CMatrixRowAccessorExtended< T >::m_elementsSpace [protected]

Definition at line 2074 of file CMatrixTemplate.h.

template<class T >
CMatrixTemplate<T>* mrpt::math::CMatrixRowAccessorExtended< T >::m_mat [protected]

Definition at line 2071 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CMatrixRowAccessorExtended< T >::m_rowInd [protected]

Definition at line 2072 of file CMatrixTemplate.h.




Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010