Function integrateQAGP
Calculate the integral of f(x)
over the finite interval (a
,b
),
taking into account known points of special difficulty
inside the interval.
Result!Real integrateQAGP(Func, Real)
(
scope Func f,
Real a,
Real b,
Real[] trouble,
Real epsRel = cast(Real)1e-06,
Real epsAbs = cast(Real)0
);
This routine uses the same integration method as integrateQAGS()
,
but allows you to specify an array of points where the
integrand has internal singularities, discontinuities or
other types of bad behaviour.