scipy.special.
roots_genlaguerre#
- scipy.special.roots_genlaguerre(n, alpha, mu=False)[source]#
高斯广义拉盖尔求积。
计算高斯广义拉盖尔求积的采样点和权重。采样点是 n 阶广义拉盖尔多项式 \(L^{\alpha}_n(x)\) 的根。这些采样点和权重可以正确地积分在区间 \([0, \infty]\) 上,带有权重函数 \(w(x) = x^{\alpha} e^{-x}\) 的小于等于 \(2n - 1\) 阶的多项式。详细信息请参阅 [AS] 中的 22.3.9。
- 参数:
- nint
求积阶数
- alphafloat
alpha 必须 > -1
- 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.