scipy.special.legendre_p_all#
- scipy.special.legendre_p_all(n, z, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>[source]#
All Legendre polynomials of the first kind up to the specified degree
n
and all derivatives up to orderdiff_n
.Output shape is
(diff_n + 1, n + 1, ...)
. The entry at(i, j)
corresponds to thei
-th derivative and degreej
for all0 <= i <= diff_n
and0 <= j <= n
.See also