|
CLAM-Development
1.4.0
|
Class Function that computes Sum(x(i)^n * y(i)) using std::accumulate and WeightedPower<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary. More...
#include <BasicOps.hxx>
Public Member Functions | |
| CrossWeightedPoweredSum () | |
| T | operator() (const Array< T > &x, const Array< T > &y, StaticTrue *b=NULL) |
| Memoryfull Computation. | |
| T | operator() (const Array< T > &x, const Array< T > &y, StaticFalse *) |
| Memoryless Computation. | |
Public Member Functions inherited from CLAM::BaseMemOp | |
| BaseMemOp () | |
| void | Reset () |
| virtual | ~BaseMemOp () |
Additional Inherited Members | |
Protected Attributes inherited from CLAM::BaseMemOp | |
| bool | alreadyComputed |
Class Function that computes Sum(x(i)^n * y(i)) using std::accumulate and WeightedPower<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary.
Definition at line 339 of file BasicOps.hxx.
|
inline |
Definition at line 342 of file BasicOps.hxx.
|
inline |
Memoryfull Computation.
Definition at line 344 of file BasicOps.hxx.
|
inline |
Memoryless Computation.
Definition at line 351 of file BasicOps.hxx.
1.8.1