scipy.special.
roots_sh_chebyu#
- scipy.special.roots_sh_chebyu(n, mu=False)[source]#
Gauss-Chebyshev(第二類,位移)正交。
計算 Gauss-Chebyshev 正交的樣本點和權重。樣本點是 n 階位移 Chebyshev 第二類多項式的根,\(U_n(x)\)。這些樣本點和權重可以正確地積分次數為 \(2n - 1\) 或更小的多項式,積分區間為 \([0, 1]\),權重函數為 \(w(x) = \sqrt{x - x^2}\)。詳情請參閱 [AS] 中的 22.2.9 節。
- 參數:
- 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.