Class Erfcx
java.lang.Object
org.apache.commons.numbers.gamma.Erfcx
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublevalue(double x) Returns the scaled complementary error function.
-
Method Details
-
value
Returns the scaled complementary error function.Special cases:
- If the argument is 0, then the result is 1.
- If the argument is +infinity, then the result is 0.
- If the argument is negative and
exp(x*x)is infinite, then the result is +infinity. - If the argument is nan, then the result is nan.
- Parameters:
x- Value.- Returns:
- the scaled complementary error function.
-