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 _inputVectorType > | |
static OutputType | Run (const _inputVectorType &inputVector) |
Implement operation of the form for dynamic vectors.
This class uses a loop to perform incremental unary vector operations of the form
where is the input vector and
is the scalar output. op stands for the unary operation performed elementwise on
and whose result are used incrementally as input for
. For a vector of size 3, the result is
.
_elementOperationType | The type of the unary operation. |
typedef _incrementalOperationType::OutputType vctDynamicVectorLoopEngines::SoVi< _incrementalOperationType, _elementOperationType >::OutputType |
|
inlinestatic |
Unroll the loop
inputVector | The input vector. |