Binary Operator for use with std::accumulate, for computing Sum((x(i)-k)^n). More...
#include <BasicOps.hxx>
Public Member Functions | |
BiasedPower (U imean) | |
U | operator() (const U &orig, const T &num) |
U | operator() (const U &orig, const T &num, StaticFalse *) |
U | operator() (const U &orig, const T &num, StaticTrue *) |
Public Attributes | |
U | mean |
Pow< s > | mP |
Binary Operator for use with std::accumulate, for computing Sum((x(i)-k)^n).
Definition at line 170 of file BasicOps.hxx.
CLAM::BiasedPower< s, abs, T, U >::BiasedPower | ( | U | imean | ) | [inline] |
Definition at line 173 of file BasicOps.hxx.
U CLAM::BiasedPower< s, abs, T, U >::operator() | ( | const U & | orig, | |
const T & | num, | |||
StaticTrue * | ||||
) | [inline] |
Definition at line 182 of file BasicOps.hxx.
References CLAM::Abs(), CLAM::BiasedPower< s, abs, T, U >::mean, and CLAM::BiasedPower< s, abs, T, U >::mP.
U CLAM::BiasedPower< s, abs, T, U >::operator() | ( | const U & | orig, | |
const T & | num, | |||
StaticFalse * | ||||
) | [inline] |
Definition at line 178 of file BasicOps.hxx.
References CLAM::BiasedPower< s, abs, T, U >::mean, and CLAM::BiasedPower< s, abs, T, U >::mP.
U CLAM::BiasedPower< s, abs, T, U >::operator() | ( | const U & | orig, | |
const T & | num | |||
) | [inline] |
Definition at line 174 of file BasicOps.hxx.
U CLAM::BiasedPower< s, abs, T, U >::mean |
Definition at line 187 of file BasicOps.hxx.
Referenced by CLAM::BiasedPower< s, abs, T, U >::operator()().
Pow<s> CLAM::BiasedPower< s, abs, T, U >::mP |
Definition at line 188 of file BasicOps.hxx.
Referenced by CLAM::BiasedPower< s, abs, T, U >::operator()().