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 104 of file RTOpPack_ROpMinIndex.hpp.
|
inline |
Definition at line 113 of file RTOpPack_ROpMinIndex.hpp.
|
inline |
Definition at line 120 of file RTOpPack_ROpMinIndex.hpp.