This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / special / _multiufuncs / legendre_p_all

MultiUFunc

scipy.special._multiufuncs:legendre_p_all

source: build-install/usr/lib/python3.14/site-packages/scipy/special/_multiufuncs.py

Signature

def legendre_p_all(n, z, *, diff_n = 0)

Summary

All Legendre polynomials of the first kind up to the specified degree n and all derivatives up to order diff_n.

Parameters

n : int

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

z : array_like

Input value.

diff_n : int, optional

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

Returns

: ndarray

Output shape is (diff_n + 1, n + 1, ...). The entry at (i, j) corresponds to the i-th derivative and degree j for all 0 <= i <= diff_n and 0 <= j <= n.

See also

legendre_p

Aliases

  • scipy.special.legendre_p_all

Referenced by