Skip to main content

hermite_polynomial

Function hermite_polynomial 

Source
pub fn hermite_polynomial(n: u32, x: f64) -> f64
Expand description

Physicist’s Hermite polynomial H_n(x) via recurrence. H_0(x) = 1, H_1(x) = 2x, H_{n+1}(x) = 2x H_n(x) - 2n H_{n-1}(x)