|
cisst-saw
|
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) |
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}\).
| _elementOperationType | The type of the binary operation. |
|
inlinestatic |
Unroll the loop
| inputOutputVector | The input output vector. |
| inputVector | The second input vector. |