OGS
|
Computes weighted sum using given integration method. The weighted sum over all positions x_i in the integration method is computed as follows: \sum_{i = 0..Method::Order} (f(x_i) * w_i).
Method | Integration method. |
Definition at line 51 of file WeightedSum.h.
#include <WeightedSum.h>
Static Public Member Functions | |
template<typename Func > | |
static double | add (Func const &f) |
|
inlinestatic |
Func | Function type. |
Definition at line 57 of file WeightedSum.h.
References MathLib::detail::SUM< I, Method >::add().