This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / laguerre / lag2poly

function

numpy.polynomial.laguerre:lag2poly

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/laguerre.py :140

Signature

def   lag2poly ( c )

Summary

Convert a Laguerre series to a polynomial.

Extended Summary

Convert an array representing the coefficients of a Laguerre series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the "standard" basis) ordered from lowest to highest degree.

Parameters

c : array_like

1-D array containing the Laguerre series coefficients, ordered from lowest order term to highest.

Returns

pol : ndarray

1-D array containing the coefficients of the equivalent polynomial (relative to the "standard" basis) ordered from lowest order term to highest.

Notes

The easy way to do conversions between polynomial basis sets is to use the convert method of a class instance.

Examples

from numpy.polynomial.laguerre import lag2poly
lag2poly([ 23., -63.,  58., -18.])

See also

poly2lag

Aliases

  • numpy.polynomial.laguerre.lag2poly