Collection of Concrete Vector Reduction/Transformation Operator Implementations
Version of the Day
|
Returns the maximum 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_ROpMaxIndex.hpp>
Public Member Functions | |
ROpMaxIndex () | |
ScalarIndex< Scalar > | operator() (const ReductTarget &reduct_obj) const |
Returns the maximum 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 70 of file RTOpPack_ROpMaxIndex.hpp.
|
inline |
Definition at line 79 of file RTOpPack_ROpMaxIndex.hpp.
|
inline |
Definition at line 86 of file RTOpPack_ROpMaxIndex.hpp.