Class Function that computes Sum((x(i)-mean)^n) using std::accumulate and BiasedPower<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary. More...
#include <BasicOps.hxx>
Public Member Functions | |
BiasedPoweredSum () | |
U | operator() (const Array< T > &a, MeanTmpl< abs, T, U > &imean, StaticFalse *useMemory) |
U | operator() (const Array< T > &a, MeanTmpl< abs, T, U > &imean, StaticTrue *useMemory=NULL) |
U | operator() (const Array< T > &a, StaticTrue *b=NULL) |
U | operator() (const Array< T > &a, StaticFalse *) |
Class Function that computes Sum((x(i)-mean)^n) using std::accumulate and BiasedPower<T,s> BinaryOp It also has associated memory so operation is not performed more than necessary.
Definition at line 570 of file BasicOps.hxx.
CLAM::BiasedPoweredSum< s, abs, T, U >::BiasedPoweredSum | ( | ) | [inline] |
Definition at line 573 of file BasicOps.hxx.
U CLAM::BiasedPoweredSum< s, abs, T, U >::operator() | ( | const Array< T > & | a, | |
StaticFalse * | ||||
) | [inline] |
Definition at line 591 of file BasicOps.hxx.
U CLAM::BiasedPoweredSum< s, abs, T, U >::operator() | ( | const Array< T > & | a, | |
StaticTrue * | b = NULL | |||
) | [inline] |
Definition at line 587 of file BasicOps.hxx.
U CLAM::BiasedPoweredSum< s, abs, T, U >::operator() | ( | const Array< T > & | a, | |
MeanTmpl< abs, T, U > & | imean, | |||
StaticTrue * | useMemory = NULL | |||
) | [inline] |
Definition at line 580 of file BasicOps.hxx.
U CLAM::BiasedPoweredSum< s, abs, T, U >::operator() | ( | const Array< T > & | a, | |
MeanTmpl< abs, T, U > & | imean, | |||
StaticFalse * | useMemory | |||
) | [inline] |
Definition at line 575 of file BasicOps.hxx.