cisst-saw
Loading...
Searching...
No Matches
nmrIsOrthonormalFixedSizeData< _elementType, _rows > Class Template Reference

Data for nmrIsOrthonormal (Fixed size). More...

#include <nmrIsOrthonormal.h>

Classes

class  Friend

Public Types

enum  { SIZE = _rows * _rows }
typedef vctFixedSizeVector< _elementType, SIZEVectorTypeWorkspace

Public Member Functions

 nmrIsOrthonormalFixedSizeData ()

Protected Attributes

VectorTypeWorkspace WorkspaceMember

Friends

class Friend

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()
Definition nmrIsOrthonormal.h:368
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

Member Typedef Documentation

◆ VectorTypeWorkspace

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).

Member Enumeration Documentation

◆ anonymous enum

template<class _elementType, vct::size_type _rows>
anonymous enum
Enumerator
SIZE 

Constructor & Destructor Documentation

◆ nmrIsOrthonormalFixedSizeData()

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

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

◆ Friend

template<class _elementType, vct::size_type _rows>
friend class Friend
friend

Member Data Documentation

◆ WorkspaceMember

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

Data member used to store the workspace vector.


The documentation for this class was generated from the following file: