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 (more accessible link).

Parameters

a

\(a\)

b

\(b\)

f

\(f(x)\)

eps

desired error in the length approximation \(g(b)\)