[][src]Function bacon_sci::integrate::integrate_laguerre

pub fn integrate_laguerre<N: ComplexField, F: FnMut(N::RealField) -> N>(
    f: F,
    tol: N::RealField
) -> Result<N, String>

Numerically integrate an integral of the form int_0^inf f(x) exp(-x) dx within a tolerance.

Given a function, numerically integrate using Gaussian-Laguerre Quadrature until two consecutive iterations are within tolerance or the maximum number of iterations is exceeded.