result = sum( v0[i], i=0...n-1 ).
More...
#include <RTOpPack_ROpSum.hpp>
Inheritance diagram for RTOpPack::ROpSum< Scalar >:
Overridden from RTOpT | |
| 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 | |
| ROpSum () | |
| | |
| Scalar | operator() (const ReductTarget &reduct_obj) const |
| | |
result = sum( v0[i], i=0...n-1 ).
Definition at line 40 of file RTOpPack_ROpSum.hpp.
| RTOpPack::ROpSum< Scalar >::ROpSum | ( | ) | [inline] |
| Scalar RTOpPack::ROpSum< Scalar >::operator() | ( | const ReductTarget & | reduct_obj | ) | const [inline] |
| void RTOpPack::ROpSum< 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