11 #ifndef RTOPPACK_ROP_MIN_INDEX_HPP
12 #define RTOPPACK_ROP_MIN_INDEX_HPP
15 #include "RTOpPack_RTOpTHelpers.hpp"
22 template<
class Scalar>
42 template<
class Scalar>
60 inout_reduct = in_reduct;
71 template<
class Scalar>
76 ROpMinIndexEleWiseReductionOp<Scalar>,
77 ROpMinIndexReductObjReductionOp<Scalar> >
84 this->initReductObjValue(
96 #endif // RTOPPACK_ROP_MIN_INDEX_HPP
Returns the minimum element and its index: result.scalar = x(k) and result.index = k such that x(k) <...
ScalarIndex< Scalar > operator()(const ReductTarget &reduct_obj) const
void operator()(const index_type i, const Scalar &v0, ScalarIndex< Scalar > &reduct) const
void setOpNameBase(const std::string &op_name_base)
const ReductScalar & getRawVal(const ReductTarget &reduct_obj) const
void operator()(const ScalarIndex< Scalar > &in_reduct, ScalarIndex< Scalar > &inout_reduct) const