This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

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 : int

quadrature order

Returns

nodes : ndarray

Quadrature nodes

weights : ndarray

Quadrature weights

See also

roots_hermite

Aliases

  • scipy.special._orthogonal._roots_hermite_asy