fixed_quad_laguerre#

agabpylib.numerical.integrate.quadrature.fixed_quad_laguerre(func, a, args=(), n=5)#

Compute a definite integral using fixed-order Gauss-Laguerre quadrature. Code adapted from fixed_quad in scipy/scipy.

Parameters:
  • func (callable) – A Python function or method to integrate (must accept vector inputs). If integrating a vector-valued function, the returned array must have shape (..., len(x)).

  • a (float) – Lower limit of integration. THE UPPER LIMIT IS ASSUMED TO BE +INF.

  • args (tuple, optional) – Extra arguments to pass to function, if any.

  • n (int, optional) – Order of quadrature integration. Default is 5.

Returns:

  • val (float) – Gaussian quadrature approximation to the integral

  • none (None) – Statically returned value of None