MRPT logo

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

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

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

Protected Attributes

const CMatrixTemplate< T > & m_mat
size_t m_colInd
size_t m_rowOffset
size_t m_elementsSpace


Detailed Description

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

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

See also:
CConstMatrixRowAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessor,CMatrixColumnAccessorExtended

Definition at line 1271 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 1278 of file CMatrixTemplate.h.

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


Member Function Documentation

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


Member Data Documentation

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

Definition at line 1274 of file CMatrixTemplate.h.

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

Definition at line 1276 of file CMatrixTemplate.h.

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

Definition at line 1273 of file CMatrixTemplate.h.

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

Definition at line 1275 of file CMatrixTemplate.h.




Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:10:56 EDT 2009