ERC CISST - cisst software

vctDynamicVectorLoopEngines::VoViVi< _elementOperationType > Class Template Reference

#include <vctDynamicVectorLoopEngines.h>

List of all members.


Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::VoViVi< _elementOperationType >

Implement operation of the form $v_o = op(v_{i1}, v_{i2})$ for dynamic vectors.

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

\[ v_o = \mathrm{op}(v_{i1}, v_{i2}) \]

where $v_o$ is the output vector, and $v_{i1}, v_{i2}$ are input vectors, all of the same size, op stands for the a binary operation performed elementwise between $v_{i1}$ and $v_{i2}$, and whose result is stored elementwise into $v_o$.

Parameters:
_elementOperationType The type of the binary operation.
See also:
vctDynamicVectorLoopEngines

Definition at line 98 of file vctDynamicVectorLoopEngines.h.

Static Public Member Functions


Member Function Documentation

template<class _elementOperationType>
template<class _outputVectorType, class _input1VectorType, class _input2VectorType>
static void vctDynamicVectorLoopEngines::VoViVi< _elementOperationType >::Run ( _outputVectorType &  outputVector,
const _input1VectorType &  input1Vector,
const _input2VectorType &  input2Vector 
) [inline, static]

Unroll the loop

Parameters:
outputVector The output vector.
input1Vector The first input vector.
input2Vector The second input vector.

Definition at line 106 of file vctDynamicVectorLoopEngines.h.

References vctDynamicCompactLoopEngines::CoCiCi< _elementOperationType >::Run(), and vctDynamicVectorLoopEngines::ThrowException().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu