Rekursive matrix template. More...
#include <cmtkMatrix.h>
Public Types | |
typedef Matrix< TElement, NDim > | Self |
This class. | |
typedef Matrix< TElement, NDim-1 > | Superclass |
Superclass. | |
typedef Superclass::ElementPointerType * | ElementPointerType |
Element pointer type. | |
Public Member Functions | |
Matrix (const size_t(&dims)[NDim]) | |
Public constructor. | |
~Matrix () | |
Destructor. | |
Self::ElementPointerType & | operator[] (const size_t idx) |
const Self::ElementPointerType & | operator[] (const size_t idx) const |
Protected Member Functions | |
Matrix () | |
Recursive constructor. | |
Private Attributes | |
std::vector< typename Self::ElementPointerType > | m_SubMatrixArray |
Vector of pointers to lower-dimensional sub-matrices. |
Rekursive matrix template.
Definition at line 53 of file cmtkMatrix.h.
typedef Superclass::ElementPointerType* cmtk::Matrix< TElement, NDim >::ElementPointerType |
Element pointer type.
Definition at line 74 of file cmtkMatrix.h.
typedef Matrix<TElement,NDim> cmtk::Matrix< TElement, NDim >::Self |
This class.
Definition at line 57 of file cmtkMatrix.h.
typedef Matrix<TElement,NDim-1> cmtk::Matrix< TElement, NDim >::Superclass |
Superclass.
Definition at line 60 of file cmtkMatrix.h.
cmtk::Matrix< TElement, NDim >::Matrix | ( | const size_t(&) | dims[NDim] ) | [inline] |
Public constructor.
Definition at line 63 of file cmtkMatrix.h.
Referenced by cmtk::Matrix4x4< T >::operator*(), and cmtk::Matrix3x3< T >::operator*().
cmtk::Matrix< TElement, NDim >::~Matrix | ( | ) | [inline] |
Destructor.
Definition at line 74 of file cmtkMatrix.h.
cmtk::Matrix< TElement, NDim >::Matrix | ( | ) | [inline, protected] |
Recursive constructor.
Definition at line 91 of file cmtkMatrix.h.
Self::ElementPointerType& cmtk::Matrix< TElement, NDim >::operator[] | ( | const size_t | idx ) | [inline] |
Definition at line 79 of file cmtkMatrix.h.
const Self::ElementPointerType& cmtk::Matrix< TElement, NDim >::operator[] | ( | const size_t | idx ) | const [inline] |
Definition at line 84 of file cmtkMatrix.h.
std::vector<typename Self::ElementPointerType> cmtk::Matrix< TElement, NDim >::m_SubMatrixArray [private] |
Vector of pointers to lower-dimensional sub-matrices.
Definition at line 91 of file cmtkMatrix.h.