cisst-saw
|
Implement operation of the form for dynamic vectors.
More...
#include <vctDynamicVectorLoopEngines.h>
Static Public Member Functions | |
template<class _inputOutputVectorType , class _inputScalarType > | |
static void | Run (_inputOutputVectorType &inputOutputVector, const _inputScalarType inputScalar) |
Implement operation of the form for dynamic vectors.
This class uses a loop to perform binary vector operations of the form
where is the input output vector, and
is the scalar input. op stands for the binary operation performed elementwise between
and
, and whose result is stored elementwise into
.
_elementOperationType | the type of the binary operation |
|
inlinestatic |
Unroll the loop
inputOutputVector | The input output vector (first operand). |
inputScalar | The input scalar (second operand). |