CLAM-Development
1.4.0
|
Binary Operator for use with std::accumulate, for computing Sum(i*x(i)^n) More...
#include <BasicOps.hxx>
Public Member Functions | |
WeightedPower () | |
T | operator() (const T &orig, const T &num) |
T | operator() (const T &orig, const T &num, StaticFalse *) |
T | operator() (const T &orig, const T &num, StaticTrue *) |
Protected Attributes | |
TIndex | i |
Pow< s > | mP |
Binary Operator for use with std::accumulate, for computing Sum(i*x(i)^n)
Definition at line 118 of file BasicOps.hxx.
|
inline |
Definition at line 121 of file BasicOps.hxx.
|
inline |
Definition at line 122 of file BasicOps.hxx.
|
inline |
Definition at line 126 of file BasicOps.hxx.
|
inline |
Definition at line 130 of file BasicOps.hxx.
|
protected |
Definition at line 135 of file BasicOps.hxx.
Referenced by CLAM::WeightedPower< 1, abs, T >::operator()().
|
protected |
Definition at line 136 of file BasicOps.hxx.
Referenced by CLAM::WeightedPower< 1, abs, T >::operator()().