erfinv
erfinv denotes the inverse error function. It is defined as the inverse of erf, the standard error function erf(x) = (2/√π) ∫_0^x e^{-t^2} dt. Consequently erfinv is defined for values y in (-1, 1) and yields real x with erf(x) = y. As y approaches ±1, erfinv(y) diverges to ±∞.
Key identities: y = erf(x) implies x = erfinv(y). The derivative of erfinv is (erfinv)'(y) = (√π/2) exp[(erfinv(y))^2]. The
Applications: erfinv is used to transform probabilities to Gaussian quantiles, to solve diffusion equations, and in
Computational notes: erfinv has no simple closed form and is computed numerically. Many languages provide it