Main MRPT website > C++ reference
MRPT logo

CMatrixViews.h File Reference

Matrix "views", or wrappers around existing matrices that change the way we see them, eg transpose, submatrix, etc. More...

#include <mrpt/math/math_frwds.h>
#include <mrpt/math/matrix_iterators.h>
Include dependency graph for CMatrixViews.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mrpt::math::CMatrixView
 The base for all matrix views. More...
class  mrpt::math::CMatrixViewTranspose< MATRIXTYPE >
 A wrapper around an existing matrix (of any kind) that allows operating on the transposed matrix. More...
class  mrpt::math::CConstMatrixViewTranspose< MAT >
 A wrapper around an existing const matrix (of any kind) that allows operating on the transposed matrix. More...
class  mrpt::math::CSubmatrixView< MATRIXTYPE, NR, NC >
 A wrapper around an existing matrix (of any kind) that allows operating on a subrange of the elements. More...
class  mrpt::math::CConstSubmatrixView< MATRIXTYPE, NR, NC >
 A const wrapper around an existing matrix (of any kind) that allows operating on a subrange of the elements. More...
class  mrpt::math::CArbitrarySubmatrixView< MATRIXTYPE >
 A wrapper around an existing matrix (of any kind) that allows operating on a subrange of the elements. More...
class  mrpt::math::CConstArbitrarySubmatrixView< MATRIXTYPE >
class  mrpt::math::CDiagonalMatrixView< MATRIXTYPE >
 View the diagonal of an existing NxN matrix as a 1xN matrix (or equivalently for many MRPT methods, an N-vector). More...
class  mrpt::math::detail::AccessorIterator< A, T >
 Template class for matrix accessor's iterators. More...
class  mrpt::math::detail::ReverseAccessorIterator< A, T >
 Template class for matrix accessor's iterators. More...
class  mrpt::math::CMatrixColumnAccessor< MAT >
 A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator. More...
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. More...
class  mrpt::math::CConstMatrixColumnAccessor< MAT >
 A vector-like wrapper for a const Matrix for accessing the elements of a given column with a [] operator. More...
class  mrpt::math::CConstMatrixColumnAccessorExtended< MAT >
 A vector-like wrapper for a const Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CMatrixRowAccessor< MAT >
 A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator. More...
class  mrpt::math::CMatrixRowAccessorExtended< MAT >
 A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CConstMatrixRowAccessor< MAT >
 A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator. More...
class  mrpt::math::CConstMatrixRowAccessorExtended< MAT >
 A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CVectorRowWrapper< VEC >
class  mrpt::math::CConstVectorRowWrapper< VEC >
class  mrpt::math::CVectorColumnWrapper< VEC >
class  mrpt::math::CConstVectorColumnWrapper< VEC >
class  mrpt::math::JointHorizontalAccessor< M1, M2 >
 Access to two matrices joint horizontally [A|B]. More...
class  mrpt::math::JointVerticalAccessor< M1, M2 >
 Access to two matrices joint vertically [A;B]. More...
class  mrpt::math::JointAccessor< JA >
 For usage with JointVerticalAccessor and JointHorizontalAccessor. More...
class  mrpt::math::IndirectAccessWrapper< T >
class  mrpt::math::IndirectAccessWrapper< T >::Generator

Namespaces

namespace  mrpt
 

This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


namespace  mrpt::math
 

This base provides a set of functions for maths stuff.


namespace  mrpt::math::detail

Defines

#define DECLARE_COMMON_MATRIX_VIEWS_MEMBERS(NUMTYPE)
#define DECLARE_MATRIX_VIEW_TYPES(_M)

Functions

template<typename MAT >
CMatrixViewTranspose< MAT > mrpt::math::getTransposed (MAT &m)
template<typename MAT >
CConstMatrixViewTranspose< MAT > mrpt::math::getTransposed (const MAT &m)
template<typename MAT >
CMatrixColumnAccessor< MAT > mrpt::math::getColumnAccessor (MAT &m, size_t colIdx)
template<typename MAT >
CMatrixColumnAccessorExtended
< MAT > 
mrpt::math::getColumnAccessor (MAT &m, size_t colIdx, size_t offset, size_t space=1)
template<typename MAT >
CConstMatrixColumnAccessor< MAT > mrpt::math::getColumnAccessor (const MAT &m, size_t colIdx)
template<typename MAT >
CConstMatrixColumnAccessorExtended
< MAT > 
mrpt::math::getColumnAccessor (const MAT &m, size_t colIdx, size_t offset, size_t space=1)
template<typename MAT >
CMatrixRowAccessor< MAT > mrpt::math::getRowAccessor (MAT &m, size_t rowIdx)
template<typename MAT >
CMatrixRowAccessorExtended< MAT > mrpt::math::getRowAccessor (MAT &m, size_t rowIdx, size_t offset, size_t space=1)
template<typename MAT >
CConstMatrixRowAccessor< MAT > mrpt::math::getRowAccessor (const MAT &m, size_t rowIdx)
template<typename MAT >
CConstMatrixRowAccessorExtended
< MAT > 
mrpt::math::getRowAccessor (const MAT &m, size_t rowIdx, size_t offset, size_t space=1)
template<typename VEC >
CVectorRowWrapper< VEC > mrpt::math::getAsRow (VEC &v)
template<typename VEC >
CConstVectorRowWrapper< VEC > mrpt::math::getAsRow (const VEC &v)

Detailed Description

Matrix "views", or wrappers around existing matrices that change the way we see them, eg transpose, submatrix, etc.

..

Definition in file CMatrixViews.h.


Define Documentation

#define DECLARE_COMMON_MATRIX_VIEWS_MEMBERS ( NUMTYPE   ) 
Value:
/*! Set all the elements to zero */ \
                void zeros() { for (size_t i=0;i<this->getRowCount();i++) for (size_t j=0;j<this->getColCount();j++) this->get_unsafe(i,j)=0; } \

Definition at line 53 of file CMatrixViews.h.

#define DECLARE_MATRIX_VIEW_TYPES ( _M   ) 
Value:
typedef typename _M::value_type         value_type; \
                        typedef typename _M::reference          reference; \
                        typedef typename _M::const_reference const_reference; \
                        typedef typename _M::size_type          size_type; \
                        typedef typename _M::difference_type difference_type; \

Definition at line 58 of file CMatrixViews.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010