scipy.special.

sh_legendre#

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

移动 Legendre 多项式。

定义为 \(P^*_n(x) = P_n(2x - 1)\),其中 \(P_n\) 是第 n 个 Legendre 多项式。

参数:
nint

多项式的阶数。

monicbool, 可选

如果 True,则将前导系数缩放为 1。默认为 False

返回值:
Porthopoly1d

移动 Legendre 多项式。

注释

多项式 \(P^*_n\)\([0, 1]\) 上是正交的,权重函数为 1。