MRPT logo

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

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

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Member Functions

 CConstMatrixColumnAccessor (const CMatrixTemplate< T > &mat, size_t colIdx)
const T & operator[] (size_t i) const

Protected Attributes

const CMatrixTemplate< T > & m_mat
size_t m_colInd


Detailed Description

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

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

See also:
CConstMatrixRowAccessor,CMatrixColumnAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

Definition at line 1254 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 1259 of file CMatrixTemplate.h.

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


Member Function Documentation

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


Member Data Documentation

template<class T >
size_t mrpt::math::CConstMatrixColumnAccessor< T >::m_colInd [protected]

Definition at line 1257 of file CMatrixTemplate.h.

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

Definition at line 1256 of file CMatrixTemplate.h.




Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 22:58:25 EDT 2009