Main MRPT website > C++ reference
MRPT logo

mrpt::math::CConstMatrixRowAccessorExtended< MAT > 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/CMatrixViews.h>

List of all members.

Public Types

typedef MAT::value_type value_type
typedef
CConstMatrixRowAccessorExtended
< MAT > 
mrpt_autotype
typedef
detail::AccessorIterator
< const
CConstMatrixRowAccessorExtended
< MAT >, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< const
CConstMatrixRowAccessorExtended
< MAT >, const value_type
const_reverse_iterator

Public Member Functions

DECLARE_MRPT_CONTAINER_TYPES
DECLARE_MRPT_CONTAINER_IS_VECTOR 
CConstMatrixRowAccessorExtended (const MAT &mat, size_t row, size_t offset, size_t space)
 CConstMatrixRowAccessorExtended ()
value_type operator[] (size_t i) const
const_iterator begin () const
const_iterator end () const
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
size_t size () const
void resize (size_t N)

Protected Attributes

const MAT * m_mat
size_t m_rowInd
size_t m_colOffset
size_t m_elementsSpace
size_t howMany

Detailed Description

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

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 1056 of file CMatrixViews.h.


Member Typedef Documentation

Definition at line 1077 of file CMatrixViews.h.

Definition at line 1078 of file CMatrixViews.h.

Definition at line 1065 of file CMatrixViews.h.

template<class MAT>
typedef MAT::value_type mrpt::math::CConstMatrixRowAccessorExtended< MAT >::value_type

Definition at line 1064 of file CMatrixViews.h.


Constructor & Destructor Documentation

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

Definition at line 1069 of file CMatrixViews.h.

References ASSERT_.

Definition at line 1073 of file CMatrixViews.h.


Member Function Documentation

template<class MAT>
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::begin (  )  const [inline]

Definition at line 1079 of file CMatrixViews.h.

template<class MAT>
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::end (  )  const [inline]

Definition at line 1082 of file CMatrixViews.h.

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

Definition at line 1074 of file CMatrixViews.h.

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

template<class MAT>
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::rbegin (  )  const [inline]

Definition at line 1085 of file CMatrixViews.h.

template<class MAT>
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< MAT >::rend (  )  const [inline]

Definition at line 1088 of file CMatrixViews.h.

template<class MAT>
void mrpt::math::CConstMatrixRowAccessorExtended< MAT >::resize ( size_t  N  )  [inline]

Definition at line 1094 of file CMatrixViews.h.

References mrpt::math::CMatrixColumnAccessor< MAT >::size().

template<class MAT>
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::size (  )  const [inline]

Definition at line 1091 of file CMatrixViews.h.


Member Data Documentation

template<class MAT>
size_t mrpt::math::CConstMatrixRowAccessorExtended< MAT >::howMany [protected]

Definition at line 1062 of file CMatrixViews.h.

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

Definition at line 1060 of file CMatrixViews.h.

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

Definition at line 1061 of file CMatrixViews.h.

template<class MAT>
const MAT* mrpt::math::CConstMatrixRowAccessorExtended< MAT >::m_mat [protected]

Definition at line 1058 of file CMatrixViews.h.

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

Definition at line 1059 of file CMatrixViews.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010