# numpy 2.5.4 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

    poly2lag(pol)

    Convert a polynomial to a Laguerre series.

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

    Parameters
    ----------
    pol : array_like
        1-D array containing the polynomial coefficients

    Returns
    -------
    c : ndarray
        1-D array containing the coefficients of the equivalent Laguerre
        series.

    See Also
    --------
    lag2poly

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

    Examples
    --------
    >>> import numpy as np
    >>> from numpy.polynomial.laguerre import poly2lag
    >>> poly2lag(np.arange(4))
    array([ 23., -63.,  58., -18.])

    
=== parse numpydoc
short_description: 'poly2lag(pol)'
long_description: |
  Convert a polynomial to a Laguerre series.
  
  Convert an array representing the coefficients of a polynomial (relative
  to the "standard" basis) ordered from lowest degree to highest, to an
  array of the coefficients of the equivalent Laguerre series, ordered
  from lowest to highest degree.
blank_after_short_description: True
blank_after_long_description: True
style: numpydoc
- DocstringParam
  description: '1-D array containing the polynomial coefficients'
  kind: param
  key: 'param'
  arg_name: 'pol'
  type_name: 'array_like'
  is_optional: False
- DocstringReturns
  description: |
    1-D array containing the coefficients of the equivalent Laguerre
    series.
  kind: returns
  key: 'returns'
  type_name: 'ndarray'
  is_generator: False
  return_name: 'c'
- DocstringMeta
  description: 'lag2poly'
  kind: text
  key: 'see_also'
  title: 'See Also'
- DocstringMeta
  description: |
    The easy way to do conversions between polynomial basis sets
    is to use the convert method of a class instance.
  kind: text
  key: 'notes'
  title: 'Notes'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> import numpy as np'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> from numpy.polynomial.laguerre import poly2lag'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> poly2lag(np.arange(4))
    array([ 23., -63.,  58., -18.])
=== detect
numpydoc
=== compose numpydoc
poly2lag(pol)

Convert a polynomial to a Laguerre series.

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

Parameters
----------
pol : array_like
    1-D array containing the polynomial coefficients

Returns
-------
c : ndarray
    1-D array containing the coefficients of the equivalent Laguerre
    series.

See Also
--------
lag2poly

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

Examples
--------
>>> import numpy as np
>>> from numpy.polynomial.laguerre import poly2lag
>>> poly2lag(np.arange(4))
array([ 23., -63.,  58., -18.])
