MRPT logo

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

A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator. More...

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Member Functions

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

Protected Attributes

const CMatrixTemplate< T > & m_mat
size_t m_rowInd

Detailed Description

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

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

See also:
CConstMatrixColumnAccessor,CMatrixRowAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessorExtended

Definition at line 1327 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 1332 of file CMatrixTemplate.h.

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


Member Function Documentation

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

Definition at line 1335 of file CMatrixTemplate.h.

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


Member Data Documentation

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

Definition at line 1329 of file CMatrixTemplate.h.

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

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