scipy.special.legendre_p#
- scipy.special.legendre_p(n, z, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>[source]#
第一類 Legendre 多項式。
- 參數:
- nArrayLike[int]
Legendre 多項式的階數。必須符合
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