Gobelijn API documentation
- generated for commit a0cbea7
|
The Simpson rule. More...
#include <SimpleRules.h>
Static Public Member Functions | |
template<class Ftor > | |
static Ftor::result_type | sum (typename Ftor::argument_type l, typename Ftor::argument_type d, Ftor f) |
Execute the rule on the cell. More... | |
The Simpson rule.
Cfr. The Handbook of Mathematical Functions, M. Abramowitz and I. Stegun, Dover Publications Chapter 25, item 25.4.5.
Definition at line 20 of file SimpleRules.h.
|
inlinestatic |
Execute the rule on the cell.
l | Left bounadry of quadrature domain |
d | Distance to right boundary of the domain |
f | Functor that gets summed |
none |
Definition at line 32 of file SimpleRules.h.