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>
Inheritance diagram for RTOpPack::ROpMaxIndex< Scalar >:
Overridden from RTOpT | |
| bool | coord_invariant () const |
| This RTOp is NOT coordinate invariant! | |
| void | reduce_reduct_objs (const ReductTarget &in_reduct_obj, ReductTarget *inout_reduct_obj) const |
| | |
| void | apply_op (const int num_vecs, const ConstSubVectorView< Scalar > sub_vecs[], const int num_targ_vecs, const SubVectorView< Scalar > targ_sub_vecs[], ReductTarget *reduct_obj) const |
| | |
Public Member Functions | |
| ROpMaxIndex () | |
| | |
| ScalarIndex< Scalar > | operator() (const ReductTarget &reduct_obj) const |
| | |
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 43 of file RTOpPack_ROpMaxIndex.hpp.
| RTOpPack::ROpMaxIndex< Scalar >::ROpMaxIndex | ( | ) | [inline] |
| ScalarIndex<Scalar> RTOpPack::ROpMaxIndex< Scalar >::operator() | ( | const ReductTarget & | reduct_obj | ) | const [inline] |
| bool RTOpPack::ROpMaxIndex< Scalar >::coord_invariant | ( | ) | const [inline, virtual] |
This RTOp is NOT coordinate invariant!
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 55 of file RTOpPack_ROpMaxIndex.hpp.
| void RTOpPack::ROpMaxIndex< Scalar >::reduce_reduct_objs | ( | const ReductTarget & | in_reduct_obj, | |
| ReductTarget * | inout_reduct_obj | |||
| ) | const [inline, virtual] |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 57 of file RTOpPack_ROpMaxIndex.hpp.
| void RTOpPack::ROpMaxIndex< Scalar >::apply_op | ( | const int | num_vecs, | |
| const ConstSubVectorView< Scalar > | sub_vecs[], | |||
| const int | num_targ_vecs, | |||
| const SubVectorView< Scalar > | targ_sub_vecs[], | |||
| ReductTarget * | reduct_obj | |||
| ) | const [inline, virtual] |
1.4.7