Package org.apache.commons.numbers.gamma
Class InverseErf
- java.lang.Object
-
- org.apache.commons.numbers.gamma.InverseErf
-
public final class InverseErf extends Object
Inverse of the error function.
-
-
Method Detail
-
value
public static double value(double x)
Returns the inverse error function.Special cases:
- If the argument is 0, then the result is 0.
- If the argument is 1, then the result is positive infinity.
- If the argument is -1, then the result is negative infinity.
- If the argument is outside the interval
[-1, 1]
, then the result is nan. - If the argument is nan, then the result is nan.
- Parameters:
x
- Value (in[-1, 1]
)- Returns:
- t such that
x =
Erf.value(t)
.
-
-