Collection of Concrete Vector Reduction/Transformation Operator Implementations
Version of the Day
|
Returns the minimum element and its index: result.scalar = x(k)
and result.index = k
such that x(k) <= x(i)
for i=0...n-1
and k
is the minimum index to break ties.
More...
#include <RTOpPack_ROpMinIndex.hpp>
Public Member Functions | |
ROpMinIndex () | |
ScalarIndex< Scalar > | operator() (const ReductTarget &reduct_obj) const |
Returns the minimum element and its index: result.scalar = x(k)
and result.index = k
such that x(k) <= x(i)
for i=0...n-1
and k
is the minimum index to break ties.
Definition at line 72 of file RTOpPack_ROpMinIndex.hpp.
|
inline |
Definition at line 81 of file RTOpPack_ROpMinIndex.hpp.
|
inline |
Definition at line 88 of file RTOpPack_ROpMinIndex.hpp.