ERC CISST - cisst software

nmrIsOrthonormalFixedSizeData< _elementType, _rows > Class Template Reference
[Numerical Methods]

#include <nmrIsOrthonormal.h>

Collaboration diagram for nmrIsOrthonormalFixedSizeData< _elementType, _rows >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType, vct::size_type _rows>
class nmrIsOrthonormalFixedSizeData< _elementType, _rows >

Data for nmrIsOrthonormal (Fixed size).

This class is similar to nmrIsOrthonormalDynamicData except that it is dedicated to fixed size containers. While nmrIsOrthonormalDynamicData is designed to be modified dynamically, nmrIsOrthonormalFixedSizeData is fully defined at compilation time using template parameters. The required parameter is the dimension of the input matrix:

  nmrIsOrthonormalFixedSizeData<4> data;

Note:
An object of type nmrIsOrthonormalFixedSizeData contains the memory required for the output and the workspace, i.e. its actual size will be equal to the memory required to store the workspace.

There is no dynamic memory allocation (no new) and the memory can not be used by reference. To use memory by reference, one must use nmrIsOrthonormalDynamicData with vctDynamicMatrixRef and vctDynamicVectorRef (these dynamic references can actually be used to overlay a fixed size container).

See also:
nmrIsOrthonormal

Definition at line 335 of file nmrIsOrthonormal.h.

Public Types

Public Member Functions

Protected Attributes


Member Typedef Documentation

template<class _elementType, vct::size_type _rows>
typedef vctFixedSizeVector<_elementType, SIZE> nmrIsOrthonormalFixedSizeData< _elementType, _rows >::VectorTypeWorkspace

Type of the workspace vector (size and storage order computed from the data object template parameters).

Definition at line 343 of file nmrIsOrthonormal.h.


Constructor & Destructor Documentation

template<class _elementType, vct::size_type _rows>
nmrIsOrthonormalFixedSizeData< _elementType, _rows >::nmrIsOrthonormalFixedSizeData (  )  [inline]

Default constructor. Does nothing since the allocation is performed on the stack.

Definition at line 371 of file nmrIsOrthonormal.h.


Member Data Documentation

template<class _elementType, vct::size_type _rows>
VectorTypeWorkspace nmrIsOrthonormalFixedSizeData< _elementType, _rows >::WorkspaceMember [protected]

Data member used to store the workspace vector.

Definition at line 346 of file nmrIsOrthonormal.h.


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu