cisst-saw
Loading...
Searching...
No Matches
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

◆ Run()

template<class _elementOperationType>
template<class _inputOutputVectorType>
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: