Public Types | Public Member Functions | Protected Member Functions | Private Attributes

cmtk::Matrix< TElement, NDim > Class Template Reference
[cmtkBase Library]

Rekursive matrix template. More...

#include <cmtkMatrix.h>

Collaboration diagram for cmtk::Matrix< TElement, NDim >:
Collaboration graph
[legend]

List of all members.

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::ElementPointerTypeoperator[] (const size_t idx)
const Self::ElementPointerTypeoperator[] (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.

Detailed Description

template<class TElement, size_t NDim>
class cmtk::Matrix< TElement, NDim >

Rekursive matrix template.

Definition at line 53 of file cmtkMatrix.h.


Member Typedef Documentation

template<class TElement , size_t NDim>
typedef Superclass::ElementPointerType* cmtk::Matrix< TElement, NDim >::ElementPointerType

Element pointer type.

Definition at line 74 of file cmtkMatrix.h.

template<class TElement , size_t NDim>
typedef Matrix<TElement,NDim> cmtk::Matrix< TElement, NDim >::Self

This class.

Definition at line 57 of file cmtkMatrix.h.

template<class TElement , size_t NDim>
typedef Matrix<TElement,NDim-1> cmtk::Matrix< TElement, NDim >::Superclass

Superclass.

Definition at line 60 of file cmtkMatrix.h.


Constructor & Destructor Documentation

template<class TElement , size_t NDim>
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*().

template<class TElement , size_t NDim>
cmtk::Matrix< TElement, NDim >::~Matrix (  ) [inline]

Destructor.

Definition at line 74 of file cmtkMatrix.h.

template<class TElement , size_t NDim>
cmtk::Matrix< TElement, NDim >::Matrix (  ) [inline, protected]

Recursive constructor.

Definition at line 91 of file cmtkMatrix.h.


Member Function Documentation

template<class TElement , size_t NDim>
Self::ElementPointerType& cmtk::Matrix< TElement, NDim >::operator[] ( const size_t  idx ) [inline]

Definition at line 79 of file cmtkMatrix.h.

template<class TElement , size_t NDim>
const Self::ElementPointerType& cmtk::Matrix< TElement, NDim >::operator[] ( const size_t  idx ) const [inline]

Definition at line 84 of file cmtkMatrix.h.


Member Data Documentation

template<class TElement , size_t NDim>
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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines