MRPT logo

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

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

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Member Functions

 CMatrixColumnAccessorExtended (CMatrixTemplate< T > &mat, size_t col, 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_colInd
size_t m_rowOffset
size_t m_elementsSpace


Detailed Description

template<typename T>
class mrpt::math::CMatrixColumnAccessorExtended< T >

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

See also:
CMatrixRowAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

Definition at line 1232 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

template<typename T >
mrpt::math::CMatrixColumnAccessorExtended< T >::CMatrixColumnAccessorExtended ( CMatrixTemplate< T > &  mat,
size_t  col,
size_t  offset,
size_t  space 
) [inline]


Member Function Documentation

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

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


Member Data Documentation

template<typename T >
size_t mrpt::math::CMatrixColumnAccessorExtended< T >::m_colInd [protected]

Definition at line 1235 of file CMatrixTemplate.h.

template<typename T >
size_t mrpt::math::CMatrixColumnAccessorExtended< T >::m_elementsSpace [protected]

Definition at line 1237 of file CMatrixTemplate.h.

template<typename T >
CMatrixTemplate<T>& mrpt::math::CMatrixColumnAccessorExtended< T >::m_mat [protected]

Definition at line 1234 of file CMatrixTemplate.h.

template<typename T >
size_t mrpt::math::CMatrixColumnAccessorExtended< T >::m_rowOffset [protected]

Definition at line 1236 of file CMatrixTemplate.h.




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