CLAM-Development
1.4.0
|
Class Function that computes Sum(x(i)^n) using std::accumulate and Power<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary. More...
#include <BasicOps.hxx>
Public Member Functions | |
PoweredSum () | |
T | operator() (const Array< T > &a, StaticTrue *useMemory=NULL) |
T | operator() (const Array< T > &a, StaticFalse *) |
![]() | |
BaseMemOp () | |
void | Reset () |
virtual | ~BaseMemOp () |
Additional Inherited Members | |
![]() | |
bool | alreadyComputed |
Class Function that computes Sum(x(i)^n) using std::accumulate and Power<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary.
Definition at line 220 of file BasicOps.hxx.
|
inline |
Definition at line 223 of file BasicOps.hxx.
|
inline |
Definition at line 224 of file BasicOps.hxx.
|
inline |
Definition at line 230 of file BasicOps.hxx.