Weight function of the Hermite polynomials.
The weight function is \(\exp(-x^2)\) and the interval of integration is \([-\inf, \inf]\). the Hermite polynomials are orthogonal, but not normalized, with respect to this weight function.
Values at which the weight function will be computed.
The weight function at x.
>>> import numpy as np >>> from numpy.polynomial.hermite import hermweight >>> x = np.arange(-2, 2) >>> hermweight(x) array([0.01831564, 0.36787944, 1. , 0.36787944])
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.polynomial.hermite.hermweight.html