scipy.special.
roots_chebys#
- scipy.special.roots_chebys(n, mu=False)[source]#
Gauss-Chebyshev(第二类)正交。
计算 Gauss-Chebyshev 正交的采样点和权重。采样点是 n 次 Chebyshev 第二类多项式的根,\(S_n(x)\)。这些采样点和权重可以正确积分度数小于等于 \(2n - 1\) 的多项式,积分区间为 \([-2, 2]\),权重函数为 \(w(x) = \sqrt{1 - (x/2)^2}\)。更多详情请参见 [AS] 中的 22.2.7。
- 参数:
- nint
正交阶数
- mubool, 可选
如果为 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.