scipy.special.assoc_laguerre#

scipy.special.assoc_laguerre(x, n, k=0.0)[source]#

Compute the generalized (associated) Laguerre polynomial of degree n and order k.

The polynomial \(L^{(k)}_n(x)\) is orthogonal over [0, inf), with weighting function exp(-x) * x**k with k > -1.

Parameters:
xfloat or ndarray

Points where to evaluate the Laguerre polynomial

nint

Degree of the Laguerre polynomial

kint

Order of the Laguerre polynomial

Returns:
assoc_laguerre: float or ndarray

Associated laguerre polynomial values

Notes

assoc_laguerre is a simple wrapper around eval_genlaguerre, with reversed argument order (x, n, k=0.0) --> (n, k, x).