|
RTOp Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
43 #ifndef RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
44 #define RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
54 template<
class Scalar>
94 template<
class Scalar>
99 ROpMinIndexGreaterThanBoundEleWiseReductionOp<Scalar>,
100 ROpMinIndexReductObjReductionOp<Scalar> >
111 this->initReductObjValue(
131 #endif // RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
Simple struct for a Scalar and an Ordinal object.
ROpMinIndexGreaterThanBoundEleWiseReductionOp(const Scalar &bound=ScalarTraits< Scalar >::zero())
Base class for coordinate-variant scalar reduction RTOps with one input vector.
Returns the minimum element greater than some bound along with its index: result.scalar = x(k) and re...
void bound(const Scalar &bound_in)
void setEleWiseReduction(ROpMinIndexGreaterThanBoundEleWiseReductionOp< Scalar > eleWiseReduction_in)
const ScalarIndex< Scalar > & getRawVal(const ReductTarget &reduct_obj) const
void operator()(const index_type i, const Scalar &v0, ScalarIndex< Scalar > &reduct) const
Teuchos_Ordinal index_type
ROpMinIndexGreaterThanBound(const Scalar &bound_in=Teuchos::ScalarTraits< Scalar >::zero())
ScalarIndex< Scalar > operator()(const ReductTarget &reduct_obj) const
Abstract base class for all reduction objects.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.