Package org.apache.commons.numbers.gamma
Class InverseErfc
java.lang.Object
org.apache.commons.numbers.gamma.InverseErfc
Inverse of the complementary error function.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
value
(double x) Returns the inverse complementary error function.
-
Constructor Details
-
InverseErfc
private InverseErfc()Private constructor.
-
-
Method Details
-
value
public static double value(double x) Returns the inverse complementary error function.Special cases:
- If the argument is 1, then the result is 0.
- If the argument is 0, then the result is positive infinity.
- If the argument is 2, then the result is negative infinity.
- If the argument is outside the interval
[0, 2]
, then the result is nan. - If the argument is nan, then the result is nan.
- Parameters:
x
- Value (in[0, 2]
)- Returns:
- t such that
x =
Erfc.value(t)
.
-