Collection of Concrete Vector Reduction/Transformation Operator Implementations
Version of the Day
|
Returns the minimum element greater than some bound along with its index: result.scalar = x(k)
and result.index = k
such that x(k) <= x(i)
for all i
where x(i) > bound
and k
is the minimum index to break ties.
More...
#include <RTOpPack_ROpMinIndexGreaterThanBound.hpp>
Public Member Functions | |
ROpMinIndexGreaterThanBound (const Scalar &bound_in=Teuchos::ScalarTraits< Scalar >::zero()) | |
void | bound (const Scalar &bound_in) |
ScalarIndex< Scalar > | operator() (const ReductTarget &reduct_obj) const |
Returns the minimum element greater than some bound along with its index: result.scalar = x(k)
and result.index = k
such that x(k) <= x(i)
for all i
where x(i) > bound
and k
is the minimum index to break ties.
If no element is greater than bound
then results.index < 0
.
Definition at line 95 of file RTOpPack_ROpMinIndexGreaterThanBound.hpp.
|
inline |
Definition at line 105 of file RTOpPack_ROpMinIndexGreaterThanBound.hpp.
|
inline |
Definition at line 115 of file RTOpPack_ROpMinIndexGreaterThanBound.hpp.
|
inline |
Definition at line 122 of file RTOpPack_ROpMinIndexGreaterThanBound.hpp.