Package org.apache.commons.numbers.gamma
Class InverseErfc
java.lang.Object
org.apache.commons.numbers.gamma.InverseErfc
public class InverseErfc
extends java.lang.Object
Inverse of the complementary error function.
This implementation is described in the paper: Approximating the erfinv function by Mike Giles, Oxford-Man Institute of Quantitative Finance, which was published in GPU Computing Gems, volume 2, 2010. The source code is available here.
-
Constructor Summary
Constructors Constructor Description InverseErfc() -
Method Summary
Modifier and Type Method Description static doublevalue(double x)Returns the inverse complementary error function.
-
Constructor Details
-
InverseErfc
public InverseErfc()
-
-
Method Details
-
value
public static double value(double x)Returns the inverse complementary error function.- Parameters:
x- Value.- Returns:
- t such that
x =Erfc.value(t).
-