Skip to main content

eval_hermite_he

Function eval_hermite_he 

Source
pub fn eval_hermite_he<N>(n: N, x: f64) -> f64
where f64: HermiteArg<N>,
Expand description

Evaluate probabilists’ (normalized) Hermite polynomial $He_n(x)$ at a point

Corresponds to scipy.special.eval_hermitenorm, and xsf::eval_hermitenorm, but also supports non-integer $n$.

n can be either u32 or f64.

§Definition

For non-negative integer $n$,

$$ He_n(x) = x^n \ {}_2F_0\left[-{n \over 2}, -{n-1 \over 2} \middle| -{2 \over x^2} \right] $$

See 22.11.8 in 1 for details.

When n: u32 the result is a polynomial of degree $n$ 2.

§See also


  1. Milton Abramowitz and Irene A. Stegun, eds. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Dover, 1972. ↩

  2. NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/18.5.E13 ↩