Class ErfDifference

    • Method Detail

      • value

        public static double value​(double x1,
                                   double x2)
        The implementation uses either Erf or Erfc, depending on which provides the most precise result.
        Parameters:
        x1 - First value.
        x2 - Second value.
        Returns:
        Erf.value(x2) - Erf.value(x1).
        Throws:
        ArithmeticException - if the algorithm fails to converge.