|
enum | { interval_quadrature = 0
} |
|
|
| Gauss1DQuadrature (unsigned npoints, long double mu, long double sigma) |
|
unsigned | npoints () const |
|
long double | mean () const |
|
long double | sigma () const |
|
void | getAllAbscissae (long double *abscissae, unsigned len) const |
|
void | getAllWeights (long double *weights, unsigned len) const |
|
template<typename FcnResult , typename FcnArg > |
long double | integrate (const Functor1< FcnResult, FcnArg > &fcn) const |
|
◆ allowedNPonts()
static std::vector<unsigned> npstat::Gauss1DQuadrature::allowedNPonts |
( |
| ) |
|
|
inlinestatic |
The complete set of allowed rules, in the increasing order
◆ integrate()
template<typename FcnResult , typename FcnArg >
long double npstat::Gauss1DQuadrature::integrate |
( |
const Functor1< FcnResult, FcnArg > & |
fcn | ) |
const |
|
inline |
◆ isAllowed()
static bool npstat::Gauss1DQuadrature::isAllowed |
( |
const unsigned |
npoints | ) |
|
|
inlinestatic |
Check if the rule with the given number of points is supported
◆ minimalExactRule()
static unsigned npstat::Gauss1DQuadrature::minimalExactRule |
( |
const unsigned |
polyDegree | ) |
|
|
inlinestatic |
Minimum number of points, among the supported rules, which integrates a polynomial with the given degree exactly (with the appropriate weight). Returns 0 if the degree is out of range.
The documentation for this class was generated from the following file: