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

Detailed Description

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

See also:
CConstMatrixRowAccessor,CMatrixColumnAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

#include <mrpt/math/matrix_adaptors.h>

List of all members.

Public Types

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

Public Member Functions

 CConstMatrixColumnAccessor (const MAT &mat, size_t colIdx)
 CConstMatrixColumnAccessor ()
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_colInd

Member Typedef Documentation

Definition at line 575 of file matrix_adaptors.h.

Definition at line 576 of file matrix_adaptors.h.

Definition at line 564 of file matrix_adaptors.h.

Definition at line 563 of file matrix_adaptors.h.


Constructor & Destructor Documentation

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

Definition at line 568 of file matrix_adaptors.h.

References ASSERT_.

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

Definition at line 571 of file matrix_adaptors.h.


Member Function Documentation

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

Definition at line 577 of file matrix_adaptors.h.

Referenced by mrpt::math::CBinaryRelation::getRelationTo().

const_iterator mrpt::math::CConstMatrixColumnAccessor::end ( ) const [inline]
value_type mrpt::math::CConstMatrixColumnAccessor::operator[] ( size_t  i) const [inline]

Definition at line 572 of file matrix_adaptors.h.

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

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

Definition at line 583 of file matrix_adaptors.h.

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

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

Definition at line 586 of file matrix_adaptors.h.

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

Definition at line 592 of file matrix_adaptors.h.

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

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

Definition at line 589 of file matrix_adaptors.h.

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


Member Data Documentation

Definition at line 561 of file matrix_adaptors.h.

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