scipy.special.

roots_chebyt#

scipy.special.roots_chebyt(n, mu=False)[source]#

Gauss-Chebyshev(第一类)正交。

计算 Gauss-Chebyshev 正交的采样点和权重。采样点是第 n 次 Chebyshev 第一类多项式的根,\(T_n(x)\)。这些采样点和权重能够正确地积分在区间 \([-1, 1]\) 上,权重函数为 \(w(x) = 1/\sqrt{1 - x^2}\) 的次数小于等于 \(2n - 1\) 的多项式。 详情请参考 [AS] 中的 22.2.4。

参数:
nint

正交阶数

mubool, optional

如果为 True,则返回权重的总和,可选。

返回:
xndarray

采样点

wndarray

权重

mufloat

权重的总和

参考文献

[AS]

Milton Abramowitz and Irene A. Stegun, eds. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Dover, 1972.