Package org.apache.commons.numbers.gamma
Class Erfcx
- java.lang.Object
 - 
- org.apache.commons.numbers.gamma.Erfcx
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublevalue(double x)Returns the scaled complementary error function. 
 - 
 
- 
- 
Method Detail
- 
value
public static double value(double x)
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.
 
 
 - 
 
 -