Skip to main content

gauss_hermite

Function gauss_hermite 

Source
pub fn gauss_hermite(n: usize) -> Result<QuadratureRule, ErrorsJSL>
Expand description

The n-point Gauss-Hermite rule for ∫_{−∞}^{∞} e^{−x²} f(x) dx (physicists’ weight), nodes ascending. For the probabilists’ weight e^{−x²/2} scale nodes by √2 and weights by √2.