Skip to main content

inv_N

Function inv_N 

Source
pub fn inv_N(p: f64) -> f64
Expand description

Inverse of the standard normal CDF (quantile function).

Acklam’s rational approximation refined with one Halley step against the erf-based N, giving close to machine precision. p must be in (0, 1); values outside return NaN.