scipy.special.

sh_legendre#

scipy.special.sh_legendre(n, monic=False)[source]#

平移的 Legendre 多項式。

定義為 \(P^*_n(x) = P_n(2x - 1)\),其中 \(P_n\) 為第 n 階 Legendre 多項式。

參數:
n整數

多項式的階數。

monic布林值,選用

若為 True,則將領先係數縮放為 1。預設值為 False

回傳值:
Porthopoly1d

平移的 Legendre 多項式。

註解

多項式 \(P^*_n\) 在區間 \([0, 1]\) 上以權重函數 1 正交。