Calculate the integral of f(x) over the finite interval
(a,b) using a simple globally adaptive integrator.
This method is suitable for functions without singularities
or discontinuities which are too difficult for integrateQNG(),
and, in particular, for functions with oscillating behaviour of a
non-specific type.
It is possible to choose between 6 pairs of
Gauss–Kronrod quadrature formulae
for the rule evaluation component. The pairs of high
degree of precision are suitable for handling integration
difficulties due to a strongly oscillating integrand, whereas
the lower-order rules are more efficient for well-behaved integrands.
The rule parameter may take on the following values, corresponding to
15-, 21-, 31-, 41-, 51-, and 61-point Gauss–Kronrod rules:
Calculate the integral of f(x) over the finite interval (a,b) using a simple globally adaptive integrator.
This method is suitable for functions without singularities or discontinuities which are too difficult for integrateQNG(), and, in particular, for functions with oscillating behaviour of a non-specific type.
It is possible to choose between 6 pairs of Gauss–Kronrod quadrature formulae for the rule evaluation component. The pairs of high degree of precision are suitable for handling integration difficulties due to a strongly oscillating integrand, whereas the lower-order rules are more efficient for well-behaved integrands. The rule parameter may take on the following values, corresponding to 15-, 21-, 31-, 41-, 51-, and 61-point Gauss–Kronrod rules: