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

Detailed Description

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

See also:
CConstMatrixRowAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessor,CMatrixColumnAccessorExtended

#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
< const
CConstMatrixColumnAccessorExtended
< MAT >, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< const
CConstMatrixColumnAccessorExtended
< MAT >, const value_type
const_reverse_iterator

Public Member Functions

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

Member Typedef Documentation

Definition at line 625 of file matrix_adaptors.h.

Definition at line 626 of file matrix_adaptors.h.

Definition at line 613 of file matrix_adaptors.h.

Definition at line 612 of file matrix_adaptors.h.


Constructor & Destructor Documentation

mrpt::math::CConstMatrixColumnAccessorExtended::CConstMatrixColumnAccessorExtended ( const MAT &  mat,
size_t  col,
size_t  offset,
size_t  space 
) [inline]

Definition at line 617 of file matrix_adaptors.h.

References ASSERT_.

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

Definition at line 621 of file matrix_adaptors.h.


Member Function Documentation

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

Definition at line 627 of file matrix_adaptors.h.

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

Definition at line 630 of file matrix_adaptors.h.

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

Definition at line 622 of file matrix_adaptors.h.

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

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

Definition at line 633 of file matrix_adaptors.h.

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

Definition at line 636 of file matrix_adaptors.h.

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

Definition at line 642 of file matrix_adaptors.h.

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

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

Definition at line 639 of file matrix_adaptors.h.


Member Data Documentation

Definition at line 610 of file matrix_adaptors.h.

Definition at line 607 of file matrix_adaptors.h.

Definition at line 609 of file matrix_adaptors.h.

Definition at line 606 of file matrix_adaptors.h.

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