MRPT logo

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

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

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

Protected Attributes

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

Detailed Description

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

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

See also:
CConstMatrixColumnAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessor,CMatrixRowAccessorExtended

Definition at line 1344 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 1351 of file CMatrixTemplate.h.

References ASSERT_, and mrpt::math::CMatrixColumnAccessor< T >::m_mat.


Member Function Documentation

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

Definition at line 1354 of file CMatrixTemplate.h.

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


Member Data Documentation

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

Definition at line 1348 of file CMatrixTemplate.h.

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

Definition at line 1349 of file CMatrixTemplate.h.

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

Definition at line 1346 of file CMatrixTemplate.h.

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

Definition at line 1347 of file CMatrixTemplate.h.




Page generated by Doxygen 1.6.1 for MRPT 0.7.1 SVN: at Tue Dec 22 08:29:35 CET 2009