A wrapper around an existing const matrix (of any kind) that allows operating on the transposed matrix. More...
#include <mrpt/math/CMatrixViews.h>


Public Types | |
| typedef CConstMatrixViewTranspose< MAT > | mrpt_autotype |
Public Member Functions | |
| DECLARE_MRPT_CONTAINER_TYPES DECLARE_MRPT_CONTAINER_IS_MATRIX DECLARE_MRPT_MATRIX_ITERATORS | CConstMatrixViewTranspose (const MAT &m) |
| size_t | getRowCount () const |
| size_t | getColCount () const |
| value_type | get_unsafe (size_t r, size_t c) const |
| value_type | operator() (size_t r, size_t c) const |
| CMatrixTemplateSize | size () const |
| void | setSize (size_t r, size_t c) |
| void | resize (size_t rc) |
Protected Attributes | |
| const MAT & | base |
A wrapper around an existing const matrix (of any kind) that allows operating on the transposed matrix.
Example of usage:
const CMatrixDouble C(4,2); CConstMatrixViewTranspose<CMatrixDouble> Ct(C); // Transpose view of C
Definition at line 127 of file CMatrixViews.h.
| typedef CConstMatrixViewTranspose<MAT> mrpt::math::CConstMatrixViewTranspose< MAT >::mrpt_autotype |
Definition at line 131 of file CMatrixViews.h.
| DECLARE_MRPT_CONTAINER_TYPES DECLARE_MRPT_CONTAINER_IS_MATRIX DECLARE_MRPT_MATRIX_ITERATORS mrpt::math::CConstMatrixViewTranspose< MAT >::CConstMatrixViewTranspose | ( | const MAT & | m | ) | [inline] |
Definition at line 138 of file CMatrixViews.h.
| value_type mrpt::math::CConstMatrixViewTranspose< MAT >::get_unsafe | ( | size_t | r, | |
| size_t | c | |||
| ) | const [inline] |
Definition at line 145 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::base.
| size_t mrpt::math::CConstMatrixViewTranspose< MAT >::getColCount | ( | ) | const [inline] |
Definition at line 142 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::base.
Referenced by mrpt::math::CConstMatrixViewTranspose< MAT >::resize(), mrpt::math::CConstMatrixViewTranspose< MAT >::setSize(), and mrpt::math::CConstMatrixViewTranspose< MAT >::size().
| size_t mrpt::math::CConstMatrixViewTranspose< MAT >::getRowCount | ( | ) | const [inline] |
Definition at line 139 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::base.
Referenced by mrpt::math::CConstMatrixViewTranspose< MAT >::resize(), mrpt::math::CConstMatrixViewTranspose< MAT >::setSize(), and mrpt::math::CConstMatrixViewTranspose< MAT >::size().
| value_type mrpt::math::CConstMatrixViewTranspose< MAT >::operator() | ( | size_t | r, | |
| size_t | c | |||
| ) | const [inline] |
Definition at line 148 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::base.
| void mrpt::math::CConstMatrixViewTranspose< MAT >::resize | ( | size_t | rc | ) | [inline] |
Definition at line 160 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::getColCount(), and mrpt::math::CConstMatrixViewTranspose< MAT >::getRowCount().
| void mrpt::math::CConstMatrixViewTranspose< MAT >::setSize | ( | size_t | r, | |
| size_t | c | |||
| ) | [inline] |
Definition at line 157 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::getColCount(), and mrpt::math::CConstMatrixViewTranspose< MAT >::getRowCount().
| CMatrixTemplateSize mrpt::math::CConstMatrixViewTranspose< MAT >::size | ( | ) | const [inline] |
Definition at line 151 of file CMatrixViews.h.
References mrpt::math::CConstMatrixViewTranspose< MAT >::getColCount(), and mrpt::math::CConstMatrixViewTranspose< MAT >::getRowCount().
const MAT& mrpt::math::CConstMatrixViewTranspose< MAT >::base [protected] |
Definition at line 129 of file CMatrixViews.h.
Referenced by mrpt::math::CConstMatrixViewTranspose< MAT >::get_unsafe(), mrpt::math::CConstMatrixViewTranspose< MAT >::getColCount(), mrpt::math::CConstMatrixViewTranspose< MAT >::getRowCount(), and mrpt::math::CConstMatrixViewTranspose< MAT >::operator()().
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |