Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
mrpt::math::CMatrixColumnAccessor Class Reference

Detailed Description

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

See also:
CMatrixRowAccessor,CMatrixColumnAccessorExtended,CConstMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

#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.

Definition at line 440 of file matrix_adaptors.h.

Definition at line 450 of file matrix_adaptors.h.

Definition at line 439 of file matrix_adaptors.h.


Constructor & Destructor Documentation

mrpt::math::CMatrixColumnAccessor::CMatrixColumnAccessor ( MAT &  mat,
size_t  colIdx 
) [inline]

Definition at line 444 of file matrix_adaptors.h.

References ASSERT_.

mrpt::math::CMatrixColumnAccessor::CMatrixColumnAccessor ( ) [inline]

Definition at line 445 of file matrix_adaptors.h.


Member Function Documentation

iterator mrpt::math::CMatrixColumnAccessor::begin ( ) [inline]

Definition at line 452 of file matrix_adaptors.h.

const_iterator mrpt::math::CMatrixColumnAccessor::begin ( ) const [inline]

Definition at line 455 of file matrix_adaptors.h.

iterator mrpt::math::CMatrixColumnAccessor::end ( ) [inline]

Definition at line 458 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

const_iterator mrpt::math::CMatrixColumnAccessor::end ( ) const [inline]

Definition at line 461 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

value_type& mrpt::math::CMatrixColumnAccessor::operator[] ( const size_t  i) [inline]

Definition at line 446 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

value_type mrpt::math::CMatrixColumnAccessor::operator[] ( const size_t  i) const [inline]

Definition at line 447 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

reverse_iterator mrpt::math::CMatrixColumnAccessor::rbegin ( ) [inline]

Definition at line 464 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

const_reverse_iterator mrpt::math::CMatrixColumnAccessor::rbegin ( ) const [inline]

Definition at line 467 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.

reverse_iterator mrpt::math::CMatrixColumnAccessor::rend ( ) [inline]

Definition at line 470 of file matrix_adaptors.h.

const_reverse_iterator mrpt::math::CMatrixColumnAccessor::rend ( ) const [inline]

Definition at line 473 of file matrix_adaptors.h.

void mrpt::math::CMatrixColumnAccessor::resize ( size_t  N) [inline]

Definition at line 479 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::size().

size_t mrpt::math::CMatrixColumnAccessor::size ( ) const [inline]

Definition at line 476 of file matrix_adaptors.h.

References mrpt::math::CMatrixRowAccessor::m_mat.


Member Data Documentation

Definition at line 437 of file matrix_adaptors.h.

Definition at line 436 of file matrix_adaptors.h.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011