|
RTOp Package Browser (Single Doxygen Collection)
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 102 of file RTOpPack_ROpMaxIndex.hpp.
| RTOpPack::ROpMaxIndex< Scalar >::ROpMaxIndex | ( | ) | [inline] |
Definition at line 111 of file RTOpPack_ROpMaxIndex.hpp.
| ScalarIndex<Scalar> RTOpPack::ROpMaxIndex< Scalar >::operator() | ( | const ReductTarget & | reduct_obj | ) | const [inline] |
Reimplemented from RTOpPack::ROpScalarReductionWithOpBase< Scalar, ScalarIndex< Scalar >, ROpMaxIndexReductObjReductionOp< Scalar > >.
Definition at line 118 of file RTOpPack_ROpMaxIndex.hpp.
1.7.6.1