Class ErfDifference

java.lang.Object
org.apache.commons.numbers.gamma.ErfDifference

public class ErfDifference
extends java.lang.Object
Computes the difference between error function values.
  • Constructor Summary

    Constructors 
    Constructor Description
    ErfDifference()  
  • Method Summary

    Modifier and Type Method Description
    static double value​(double x1, double x2)
    The implementation uses either Erf or Erfc, depending on which provides the most precise result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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).