cisst-saw
|
Implement operation of the form for dynamic vectors.
More...
#include <vctDynamicVectorLoopEngines.h>
Public Types | |
typedef _incrementalOperationType::OutputType | OutputType |
Static Public Member Functions | |
template<class _input1VectorType , class _input2VectorType > | |
static OutputType | Run (const _input1VectorType &input1Vector, const _input2VectorType &input2Vector) |
Implement operation of the form for dynamic vectors.
This class uses a loop to perform incremental binary vector operations of the form
where and
are the input vectors and
is the scalar output. The vectors have the same size, op stands for the unary operation performed elementwise on
and
and whose result are used incrementally as input for
. For a vector of size 3, the result is
.
_incrementalOperationType | The type of the incremental operation. |
_elementOperationType | The type of the unary operation. |
typedef _incrementalOperationType::OutputType vctDynamicVectorLoopEngines::SoViVi< _incrementalOperationType, _elementOperationType >::OutputType |
|
inlinestatic |
Unroll the loop
input1Vector | The first input vector (first operand for _elementOperationType). |
input2Vector | The second input vector (second operand for _elementOperationType). |