nag_quad_1d_fin_smooth (d01bdc) calculates an approximation to the integral of a function over a finite interval
:
It is non-adaptive and as such is recommended for the integration of ‘smooth’ functions. These
exclude integrands with singularities, derivative singularities or high peaks on
, or which oscillate too strongly on
.
nag_quad_1d_fin_smooth (d01bdc) is based on the QUADPACK routine QNG (see
Piessens et al. (1983)). It is a non-adaptive function which uses as its basic rules, the Gauss
-point and
-point formulae. If the accuracy criterion is not met, formulae using
and
points are used successively, stopping whenever the accuracy criterion is satisfied.
This function is designed for smooth integrands only.
There are no specific errors detected by nag_quad_1d_fin_smooth (d01bdc). However, if
abserr is greater than
this indicates that the function has probably failed to achieve the requested accuracy within
function evaluations.
nag_quad_1d_fin_smooth (d01bdc) attempts to compute an approximation,
result, such that:
where
and
epsabs and
epsrel are user-specified absolute and relative error tolerances. There can be no guarantee that this is achieved, and you are advised to subdivide the interval if you have any doubts about the accuracy obtained. Note that
abserr contains an estimated bound on
.
Not applicable.
The time taken by nag_quad_1d_fin_smooth (d01bdc) depends on the integrand and the accuracy required.
None.