scipy.special.
roots_sh_chebyt#
- scipy.special.roots_sh_chebyt(n, mu=False)[source]#
Gauss-Chebyshev(第一类,移位)正交。
计算 Gauss-Chebyshev 正交的样本点和权重。样本点是 n 次移位 Chebyshev 第一类多项式的根,\(T_n(x)\)。 这些样本点和权重正确地对次数为 \(2n - 1\) 或更小的多项式在区间 \([0, 1]\) 上进行积分,权重函数为 \(w(x) = 1/\sqrt{x - x^2}\)。 更多细节请参见 [AS] 中的 22.2.8。
- 参数:
- 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.