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


Public Types | |
| typedef CMatrixViewTranspose < MATRIXTYPE > | mrpt_autotype |
| See ops_containers.h. | |
Public Member Functions | |
| DECLARE_MRPT_CONTAINER_TYPES DECLARE_MRPT_CONTAINER_IS_MATRIX DECLARE_MRPT_MATRIX_ITERATORS | CMatrixViewTranspose (MATRIXTYPE &m) |
| size_t | getRowCount () const |
| size_t | getColCount () const |
| value_type & | get_unsafe (size_t r, size_t c) |
| value_type | get_unsafe (size_t r, size_t c) const |
| void | set_unsafe (size_t r, size_t c, value_type v) |
| value_type & | operator() (const size_t r, const size_t c) |
| value_type | operator() (const size_t r, const size_t c) const |
| template<typename OTHERMATRIX > | |
| mrpt_autotype & | operator= (const OTHERMATRIX &m) |
| CMatrixTemplateSize | size () |
| void | setSize (size_t r, size_t c) |
| void | resize (size_t rtc) |
Protected Attributes | |
| MATRIXTYPE & | base |
A wrapper around an existing matrix (of any kind) that allows operating on the transposed matrix.
Example of usage:
CMatrixDouble C(4,2); CMatrixViewTranspose<CMatrixDouble> Ct(C); // Transpose view of C
Definition at line 74 of file CMatrixViews.h.
| typedef CMatrixViewTranspose<MATRIXTYPE> mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::mrpt_autotype |
See ops_containers.h.
Definition at line 80 of file CMatrixViews.h.
| DECLARE_MRPT_CONTAINER_TYPES DECLARE_MRPT_CONTAINER_IS_MATRIX DECLARE_MRPT_MATRIX_ITERATORS mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::CMatrixViewTranspose | ( | MATRIXTYPE & | m | ) | [inline] |
Definition at line 88 of file CMatrixViews.h.
| value_type mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::get_unsafe | ( | size_t | r, | |
| size_t | c | |||
| ) | const [inline] |
Definition at line 92 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
| value_type& mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::get_unsafe | ( | size_t | r, | |
| size_t | c | |||
| ) | [inline] |
Definition at line 91 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
Referenced by mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator=().
| size_t mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount | ( | ) | const [inline] |
Definition at line 90 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
Referenced by mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator=(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::resize(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::setSize(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::size().
| size_t mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount | ( | ) | const [inline] |
Definition at line 89 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
Referenced by mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator=(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::resize(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::setSize(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::size().
| value_type mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator() | ( | const size_t | r, | |
| const size_t | c | |||
| ) | const [inline] |
Definition at line 95 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
| value_type& mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator() | ( | const size_t | r, | |
| const size_t | c | |||
| ) | [inline] |
Definition at line 94 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
| mrpt_autotype& mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator= | ( | const OTHERMATRIX & | m | ) | [inline] |
Definition at line 96 of file CMatrixViews.h.
References ASSERT_, mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::get_unsafe(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount().
| void mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::resize | ( | size_t | rtc | ) | [inline] |
Definition at line 112 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount().
| void mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::set_unsafe | ( | size_t | r, | |
| size_t | c, | |||
| value_type | v | |||
| ) | [inline] |
Definition at line 93 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base.
| void mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::setSize | ( | size_t | r, | |
| size_t | c | |||
| ) | [inline] |
Definition at line 109 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount().
| CMatrixTemplateSize mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::size | ( | ) | [inline] |
Definition at line 104 of file CMatrixViews.h.
References mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount().
MATRIXTYPE& mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::base [protected] |
Definition at line 77 of file CMatrixViews.h.
Referenced by mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::get_unsafe(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getColCount(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::getRowCount(), mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::operator()(), and mrpt::math::CMatrixViewTranspose< MATRIXTYPE >::set_unsafe().
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |