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

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

#include <vctDynamicVectorLoopEngines.h>

Static Public Member Functions

template<class _inputOutputVectorType , class _inputVectorType >
static void Run (_inputOutputVectorType &inputOutputVector, const _inputVectorType &inputVector)
 

Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::VioVi< _elementOperationType >

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

This class uses a loop to perform binary vector operations of the form

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

where $v_{io}$ is the input output vector, and $v_{i}$ is the second input vector, all of same size, op stands for the a binary operation performed elementwise between $v_{io}$ and $v_{i}$, and whose result is stored elementwise into $v_{io}$.

Parameters
_elementOperationTypeThe type of the binary operation.
See Also
vctDynamicVectorLoopEngines

Member Function Documentation

template<class _elementOperationType >
template<class _inputOutputVectorType , class _inputVectorType >
static void vctDynamicVectorLoopEngines::VioVi< _elementOperationType >::Run ( _inputOutputVectorType &  inputOutputVector,
const _inputVectorType &  inputVector 
)
inlinestatic

Unroll the loop

Parameters
inputOutputVectorThe input output vector.
inputVectorThe second input vector.

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