npstat::GaussHermiteQuadrature Class Reference
Detailed DescriptionGauss-Hermite quadrature. Internally, operations are performed in long double precision. Constructor & Destructor Documentation◆ GaussHermiteQuadrature()
At the moment, the following numbers of points are supported: 16, 32, 64, 100, 128, 256, 512. If an unsupported number of points is given in the constructor, std::invalid_argument exception will be thrown. Note that, for the quadrature with 512 points, the arguments become as large as 31.4 and the weights become as small as 4.9e-430. Use of such weights with doubles is rather meaningless. Long double integrands are needed. Member Function Documentation◆ allowedNPonts()
The complete set of allowed rules, in the increasing order ◆ getAbscissae()
The abscissae are returned for positive points only, so the buffer length should be at least npoints/2. ◆ getAllAbscissae()
Return abscissae for all points ◆ getAllWeights()
Return weights for all points ◆ getWeights()
The weights are returned for positive points only, so the buffer length should be at least npoints/2. ◆ integrate()
template<typename FcnResult , typename FcnArg >
Perform the quadrature ◆ integrateProb()
template<typename FcnResult , typename FcnArg >
Perform the quadrature with Gaussian density weight ◆ 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 |