bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / special / _orthogonal / _roots_hermite_asy
function
scipy.special._orthogonal:_roots_hermite_asy
source: build-install/usr/lib/python3.14/site-packages/scipy/special/_orthogonal.py:1587
Signature
def _roots_hermite_asy(n)Summary
Gauss-Hermite (physicist's) quadrature for large n.
Extended Summary
Computes the sample points and weights for Gauss-Hermite quadrature. The sample points are the roots of the nth degree Hermite polynomial, . These sample points and weights correctly integrate polynomials of degree or less over the interval with weight function .
This method relies on asymptotic expansions which work best for n > 150. The algorithm has linear runtime making computation for very large n feasible.
Parameters
n: intquadrature order
Returns
nodes: ndarrayQuadrature nodes
weights: ndarrayQuadrature weights
See also
Aliases
scipy.special._orthogonal._roots_hermite_asy