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

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


Detailed Description

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

A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator.

See also:
CMatrixRowAccessor,CMatrixColumnAccessorExtended,CConstMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

Definition at line 434 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

List of all members.

Public Types

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

Public Member Functions

 CMatrixColumnAccessor (MAT &mat, size_t colIdx)
 CMatrixColumnAccessor ()
value_typeoperator[] (const size_t i)
value_type operator[] (const 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

Member Typedef Documentation

Definition at line 449 of file matrix_adaptors.h.

Definition at line 451 of file matrix_adaptors.h.

Definition at line 448 of file matrix_adaptors.h.

template<typename MAT>
typedef CMatrixColumnAccessor<MAT> mrpt::math::CMatrixColumnAccessor< MAT >::mrpt_autotype

Definition at line 440 of file matrix_adaptors.h.

Definition at line 450 of file matrix_adaptors.h.

template<typename MAT>
typedef MAT::value_type mrpt::math::CMatrixColumnAccessor< MAT >::value_type

Definition at line 439 of file matrix_adaptors.h.


Constructor & Destructor Documentation

template<typename MAT>
mrpt::math::CMatrixColumnAccessor< MAT >::CMatrixColumnAccessor ( MAT &  mat,
size_t  colIdx 
) [inline]

Definition at line 444 of file matrix_adaptors.h.

References ASSERT_.

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

Definition at line 445 of file matrix_adaptors.h.


Member Function Documentation

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

Definition at line 452 of file matrix_adaptors.h.

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

Definition at line 455 of file matrix_adaptors.h.

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

Definition at line 458 of file matrix_adaptors.h.

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

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

Definition at line 461 of file matrix_adaptors.h.

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

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

Definition at line 447 of file matrix_adaptors.h.

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

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

Definition at line 446 of file matrix_adaptors.h.

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

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

Definition at line 467 of file matrix_adaptors.h.

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

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

Definition at line 464 of file matrix_adaptors.h.

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

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

Definition at line 473 of file matrix_adaptors.h.

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

Definition at line 470 of file matrix_adaptors.h.

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

Definition at line 479 of file matrix_adaptors.h.

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

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

Definition at line 476 of file matrix_adaptors.h.

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


Member Data Documentation

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

Definition at line 437 of file matrix_adaptors.h.

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

Definition at line 436 of file matrix_adaptors.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011