Binary Operator for use with std::accumulate, for computing Sum(x(i)^n). More...
#include <BasicOps.hxx>
Public Member Functions | |
Power () | |
T | operator() (const T &orig, const T &num) |
T | operator() (const T &orig, const T &num, StaticFalse *doAbsolute) |
T | operator() (const T &orig, const T &num, StaticTrue *doAbsolute) |
Protected Attributes | |
Pow< s > | mP |
Binary Operator for use with std::accumulate, for computing Sum(x(i)^n).
Definition at line 80 of file BasicOps.hxx.
CLAM::Power< s, abs, T >::Power | ( | ) | [inline] |
Definition at line 83 of file BasicOps.hxx.
T CLAM::Power< s, abs, T >::operator() | ( | const T & | orig, | |
const T & | num, | |||
StaticTrue * | doAbsolute | |||
) | [inline] |
Definition at line 92 of file BasicOps.hxx.
T CLAM::Power< s, abs, T >::operator() | ( | const T & | orig, | |
const T & | num, | |||
StaticFalse * | doAbsolute | |||
) | [inline] |
Definition at line 88 of file BasicOps.hxx.
T CLAM::Power< s, abs, T >::operator() | ( | const T & | orig, | |
const T & | num | |||
) | [inline] |
Definition at line 84 of file BasicOps.hxx.
Pow<s> CLAM::Power< s, abs, T >::mP [protected] |
Definition at line 97 of file BasicOps.hxx.
Referenced by CLAM::Power< 1, abs, T >::operator()().