bundles / scipy latest / scipy / special / _orthogonal / _roots_hermite_asy
function
scipy.special._orthogonal:_roots_hermite_asy
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