integralScan

Returns samples of \(g(t) = \int_a^t f(x) \, dx\) for various values \(a \leq t \leq b\). The sampling points are chosen adaptively using the algorithm adaptsim from Gander and Gautschi.

Return

IntegralScanResult containing sample points and their cumulative integrals.

Parameters

a

The lower bound of integration.

b

The upper bound of integration.

eps

Desired error in the length approximation \(g(b)\).

f

The function to integrate.