cisst-saw
|
Implement operation of the form for dynamic vectors.
More...
#include <vctDynamicVectorLoopEngines.h>
Static Public Member Functions | |
template<class _inputOutput1VectorType , class _inputOutput2VectorType > | |
static void | Run (_inputOutput1VectorType &inputOutput1Vector, _inputOutput2VectorType &inputOutput2Vector) |
Implement operation of the form for dynamic vectors.
This class uses a loop to perform binary vector operations of the form
where both are input and output vectors of an equal size. The operation is evaluated elementwise, that is,
. The typical operation in this case is swapping the elements of the two vectors.
_elementOperationType | The type of the binary operation that inputs and rewrites corresponding elements in both vectors. |
|
inlinestatic |
Unroll the loop
inputOutput1Vector | The input output vector. |
inputOutput2Vector | The second input vector. |