npstat::SemiInfGaussianQuadrature Class Reference
Detailed DescriptionQuadrature for functions of the type f(x) exp(-x^2/2) on [0, Infinity] Constructor & Destructor Documentation◆ SemiInfGaussianQuadrature()
At the moment, the following numbers of points are supported: 4, 8, 16, 24, 32. If an unsupported number of points is given in the constructor, std::invalid_argument exception will be thrown. Member Function Documentation◆ allowedNPonts()
The complete set of allowed rules, in the increasing order ◆ getAllAbscissae()
Get the abscissae for the integration points. The buffer length should be at least npoints. ◆ getAllWeights()
Get the weights for the integration points. The buffer length should be at least npoints. ◆ integrate()
template<typename FcnResult , typename FcnArg >
Perform the quadrature ◆ integrateProb()
template<typename FcnResult , typename FcnArg >
Perform the quadrature f(x) Sqrt[2/Pi]/sigma Exp[-(x/sigma)^2/2] (the weight is normalized to unit integral on [0, Infinity]) ◆ isAllowed()
Check if the rule with the given number of points is supported ◆ minimalExactRule()
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. ◆ npoints()
Return the number of quadrature points The documentation for this class was generated from the following file: Generated by 1.9.1 |