Package org.apache.commons.numbers.gamma
Class ErfDifference
- java.lang.Object
-
- org.apache.commons.numbers.gamma.ErfDifference
-
public final class ErfDifference extends Object
Computes the difference betweenerror function values
.
-
-
Method Detail
-
value
public static double value(double x1, double x2)
- Parameters:
x1
- First value.x2
- Second value.- Returns:
Erf.value(x2) - Erf.value(x1)
.- Throws:
ArithmeticException
- if the algorithm fails to converge.
-
-