{ } Raw JSON

bundles / scipy latest / scipy / special / _multiufuncs / legendre_p

MultiUFunc

scipy.special._multiufuncs:legendre_p

source: /scipy/special/_multiufuncs.py

Signature

def   legendre_p ( n z * diff_n = 0 )

Summary

Legendre polynomial of the first kind.

Parameters

n : ArrayLike[int]

Degree of the Legendre polynomial. Must have n >= 0.

z : ArrayLike[float]

Input value.

diff_n : Optional[int]

A non-negative integer. Compute and return all derivatives up to order diff_n. Default is 0.

Returns

p : ndarray or tuple[ndarray]

Legendre polynomial with diff_n derivatives.

See also

legendre

Aliases

  • scipy.special.legendre_p

Referenced by

This package