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

 CMatrixRowAccessorExtended (CMatrixTemplate< T > &mat, size_t row, size_t offset, size_t space)
T & operator[] (size_t i)
const T & operator[] (size_t i) const

Protected Attributes

CMatrixTemplate< T > & m_mat
size_t m_rowInd
size_t m_colOffset
size_t m_elementsSpace


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 1305 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]


Member Function Documentation

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

Definition at line 1318 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 1315 of file CMatrixTemplate.h.

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


Member Data Documentation

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

Definition at line 1309 of file CMatrixTemplate.h.

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

Definition at line 1310 of file CMatrixTemplate.h.

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

Definition at line 1307 of file CMatrixTemplate.h.

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

Definition at line 1308 of file CMatrixTemplate.h.




Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009