pub fn roots_hermite_he(n: usize) -> (Vec<f64>, Vec<f64>)Expand description
Gauss-Hermite (statistician’s) quadrature
Corresponds to scipy.special.roots_hermitenorm.
The nodes are the roots of the Hermite polynomial $He_n$, and the rule is exact for
polynomials of degree $2n - 1$ with the weight function $e^{-x^2/2}$ on $(-\infty, \infty)$
(A&S 22.2.15). For $n > 150$, they are scaled from roots_hermite_h.
§Panics
- if
nis zero
§See also
eval_hermite_he: Evaluate probabilist’s Hermite polynomials, $He_n$