cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
vctDynamicVectorLoopEngines::Vio< _elementOperationType > Class Template Reference

Implement operation of the form $v_{io} = op(v_{io})$ for dynamic vectors. More...

#include <vctDynamicVectorLoopEngines.h>

Static Public Member Functions

template<class _inputOutputVectorType >
static void Run (_inputOutputVectorType &inputOutputVector)
 

Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::Vio< _elementOperationType >

Implement operation of the form $v_{io} = op(v_{io})$ for dynamic vectors.

This class uses a loop to perform unary store back vector operations of the form

\[ v_{io} = \mathrm{op}(v_{io}) \]

where $v_{io}$ is the input output vector. op stands for the unary operation performed elementwise on $v_{io}$ and whose result is stored elementwise into $v_{io}[index]$.

Parameters
_elementOperationTypeThe type of the unary operation.
See Also
vctDynamicVectorLoopEngines

Member Function Documentation

template<class _elementOperationType >
template<class _inputOutputVectorType >
static void vctDynamicVectorLoopEngines::Vio< _elementOperationType >::Run ( _inputOutputVectorType &  inputOutputVector)
inlinestatic

Unroll the loop

Parameters
inputOutputVectorThe input output vector.

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