integrateQAGP

Calculate the integral of f(x) over the finite interval (a,b), taking into account known points of special difficulty inside the interval.

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.

Result!Real
integrateQAGP
(
Func
Real
)
(
scope Func f
,
Real a
,
Real b
,
Real[] trouble
,
Real epsRel = cast(Real)1e-6
,
Real epsAbs = cast(Real)0
)

Meta