scipy.special.

roots_chebyc#

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

Gauss-Chebyshev(第一类)正交。

计算 Gauss-Chebyshev 正交的样本点和权重。样本点是 n 次 Chebyshev 第一类多项式 \(C_n(x)\) 的根。 这些样本点和权重可以在区间 \([-2, 2]\) 上正确积分次数为 \(2n - 1\) 或更小的多项式,权重函数为 \(w(x) = 1 / \sqrt{1 - (x/2)^2}\)。 有关更多详细信息,请参见 [AS] 中的 22.2.6。

参数:
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.