scipy.special.legendre_p_all — SciPy v1.15.2 Manual (original) (raw)

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.

Output shape is (n + 1, ...). The entry at jcorresponds to degree j for all 0 <= j <= n.