Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes

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


Detailed Description

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

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 491 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

List of all members.

Public Types

typedef MAT::value_type value_type
typedef
CMatrixColumnAccessorExtended
< MAT > 
mrpt_autotype
typedef
detail::AccessorIterator
< CMatrixColumnAccessorExtended
< MAT >, value_type
iterator
typedef
detail::AccessorIterator
< const
CMatrixColumnAccessorExtended
< MAT >, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< CMatrixColumnAccessorExtended
< MAT >, value_type
reverse_iterator
typedef
detail::ReverseAccessorIterator
< const
CMatrixColumnAccessorExtended
< MAT >, const value_type
const_reverse_iterator

Public Member Functions

 CMatrixColumnAccessorExtended (MAT &mat, size_t col, size_t offset, size_t space)
 CMatrixColumnAccessorExtended ()
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_colInd
size_t m_rowOffset
size_t m_elementsSpace
size_t howMany

Member Typedef Documentation

Definition at line 516 of file matrix_adaptors.h.

Definition at line 518 of file matrix_adaptors.h.

Definition at line 515 of file matrix_adaptors.h.

Definition at line 500 of file matrix_adaptors.h.

Definition at line 517 of file matrix_adaptors.h.

Definition at line 499 of file matrix_adaptors.h.


Constructor & Destructor Documentation

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

Definition at line 504 of file matrix_adaptors.h.

References ASSERT_.

template<typename MAT>
mrpt::math::CMatrixColumnAccessorExtended< MAT >::CMatrixColumnAccessorExtended (  ) [inline]

Definition at line 508 of file matrix_adaptors.h.


Member Function Documentation

template<typename MAT>
iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::begin (  ) [inline]

Definition at line 519 of file matrix_adaptors.h.

template<typename MAT>
const_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::begin (  ) const [inline]

Definition at line 522 of file matrix_adaptors.h.

template<typename MAT>
iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::end (  ) [inline]

Definition at line 525 of file matrix_adaptors.h.

template<typename MAT>
const_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::end (  ) const [inline]

Definition at line 528 of file matrix_adaptors.h.

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

Definition at line 512 of file matrix_adaptors.h.

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

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

Definition at line 509 of file matrix_adaptors.h.

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

template<typename MAT>
const_reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rbegin (  ) const [inline]

Definition at line 534 of file matrix_adaptors.h.

template<typename MAT>
reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rbegin (  ) [inline]

Definition at line 531 of file matrix_adaptors.h.

template<typename MAT>
const_reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rend (  ) const [inline]

Definition at line 540 of file matrix_adaptors.h.

template<typename MAT>
reverse_iterator mrpt::math::CMatrixColumnAccessorExtended< MAT >::rend (  ) [inline]

Definition at line 537 of file matrix_adaptors.h.

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

Definition at line 546 of file matrix_adaptors.h.

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

template<typename MAT>
size_t mrpt::math::CMatrixColumnAccessorExtended< MAT >::size (  ) const [inline]

Definition at line 543 of file matrix_adaptors.h.


Member Data Documentation

template<typename MAT>
size_t mrpt::math::CMatrixColumnAccessorExtended< MAT >::howMany [protected]

Definition at line 497 of file matrix_adaptors.h.

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

Definition at line 494 of file matrix_adaptors.h.

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

Definition at line 496 of file matrix_adaptors.h.

template<typename MAT>
MAT* mrpt::math::CMatrixColumnAccessorExtended< MAT >::m_mat [protected]

Definition at line 493 of file matrix_adaptors.h.

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

Definition at line 495 of file matrix_adaptors.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011