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

Implement operation of the form $v_o = op(v_i)$ for dynamic vectors. More...

#include <vctDynamicVectorLoopEngines.h>

Static Public Member Functions

template<class _outputVectorType , class _inputVectorType >
static void Run (_outputVectorType &outputVector, const _inputVectorType &inputVector)
 

Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::VoVi< _elementOperationType >

Implement operation of the form $v_o = op(v_i)$ for dynamic vectors.

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

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

where $v_{o}$ is the output vector, and $v_{i}$ is the input vector both of same size, op stands for the a unary operation performed elementwise on $v_{i}$, and whose result is stored elementwise into $v_{o}$.

Parameters
_elementOperationTypeThe type of the unary operation.
See Also
vctDynamicVectorLoopEngines

Member Function Documentation

template<class _elementOperationType >
template<class _outputVectorType , class _inputVectorType >
static void vctDynamicVectorLoopEngines::VoVi< _elementOperationType >::Run ( _outputVectorType &  outputVector,
const _inputVectorType &  inputVector 
)
inlinestatic

Unroll the loop

Parameters
outputVectorThe output vector.
inputVectorThe input vector.

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