scipy.special.legendre_p#

scipy.special.legendre_p(n, z, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>[source]#

第一类勒让德多项式。

参数:
nArrayLike[int]

勒让德多项式的阶数。必须有 n >= 0

zArrayLike[float]

输入值。

diff_nOptional[int]

一个非负整数。计算并返回高达 diff_n 阶的所有导数。默认为 0。

返回:
pndarray 或 tuple[ndarray]

具有 diff_n 个导数的勒让德多项式。

参见

legendre

参考

[1]

Zhang, Shanjie and Jin, Jianming. “Computation of Special Functions”, John Wiley and Sons, 1996. https://people.sc.fsu.edu/~jburkardt/f77_src/special_functions/special_functions.html