Main MRPT website > C++ reference
MRPT logo

mrpt::math::CMatrixRowAccessorExtended< MAT > Class Template Reference

A vector-like wrapper for a 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
CMatrixRowAccessorExtended
< MAT > 
mrpt_autotype
typedef
detail::AccessorIterator
< CMatrixRowAccessorExtended
< MAT >, value_type
iterator
typedef
detail::AccessorIterator
< const
CMatrixRowAccessorExtended
< MAT >, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< CMatrixRowAccessorExtended
< MAT >, value_type
reverse_iterator
typedef
detail::ReverseAccessorIterator
< const
CMatrixRowAccessorExtended
< MAT >, const value_type
const_reverse_iterator

Public Member Functions

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

Protected Attributes

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::CMatrixRowAccessorExtended< MAT >

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

See also:
CMatrixColumnAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessor,CConstMatrixRowAccessorExtended

Definition at line 943 of file CMatrixViews.h.


Member Typedef Documentation

Definition at line 968 of file CMatrixViews.h.

Definition at line 970 of file CMatrixViews.h.

Definition at line 967 of file CMatrixViews.h.

Definition at line 952 of file CMatrixViews.h.

Definition at line 969 of file CMatrixViews.h.

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

Definition at line 951 of file CMatrixViews.h.


Constructor & Destructor Documentation

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

Definition at line 956 of file CMatrixViews.h.

References ASSERT_.

template<class MAT >
mrpt::math::CMatrixRowAccessorExtended< MAT >::CMatrixRowAccessorExtended (  )  [inline]

Definition at line 960 of file CMatrixViews.h.


Member Function Documentation

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

Definition at line 974 of file CMatrixViews.h.

template<class MAT >
iterator mrpt::math::CMatrixRowAccessorExtended< MAT >::begin (  )  [inline]

Definition at line 971 of file CMatrixViews.h.

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

Definition at line 980 of file CMatrixViews.h.

template<class MAT >
iterator mrpt::math::CMatrixRowAccessorExtended< MAT >::end (  )  [inline]

Definition at line 977 of file CMatrixViews.h.

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

Definition at line 964 of file CMatrixViews.h.

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

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

Definition at line 961 of file CMatrixViews.h.

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

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

Definition at line 986 of file CMatrixViews.h.

template<class MAT >
reverse_iterator mrpt::math::CMatrixRowAccessorExtended< MAT >::rbegin (  )  [inline]

Definition at line 983 of file CMatrixViews.h.

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

Definition at line 992 of file CMatrixViews.h.

template<class MAT >
reverse_iterator mrpt::math::CMatrixRowAccessorExtended< MAT >::rend (  )  [inline]

Definition at line 989 of file CMatrixViews.h.

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

Definition at line 998 of file CMatrixViews.h.

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

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

Definition at line 995 of file CMatrixViews.h.


Member Data Documentation

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

Definition at line 949 of file CMatrixViews.h.

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

Definition at line 947 of file CMatrixViews.h.

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

Definition at line 948 of file CMatrixViews.h.

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

Definition at line 945 of file CMatrixViews.h.

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

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