[][src]Function mathru::special::error::erfcinv

pub fn erfcinv<T>(x: T) -> T where
    T: Real + Error

Inverse complementary error function

\operatorname{erfc}^{-1}(1-z) = \operatorname{erf}^{-1}(z)

Arguments

0 <= x <= 2.0

Panics

if x < 0.0 or x > 2.0

Example

use mathru::special::error;

let x: f64 = 1.0;
let error: f64 = error::erfcinv(x);