Documentation of 'jhplot.math.num.special.Erf' Java class.
Erf
jhplot.math.num.special

Class Erf



  • public final class Erf
    extends java.lang.Object
    Utility class that provides methods related to the error function.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double erf(double x)
      Returns the error function erf(x) (1).
      static double erfc(double x)
      Returns the complementary error function erfc(x) (1).
      static double inverseErf(double y)
      Returns the inverse error function erf-1(y).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • erfc

        public static double erfc(double x)
                           throws NumericException

        Returns the complementary error function erfc(x) (1).

        References:

        1. Eric W. Weisstein. "Erfc." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erfc.html

        Parameters:
        x - the evaluation point.
        Returns:
        erfc(x)
        Throws:
        NumericException - if the value could not be computed.
        Since:
        1.1
      • inverseErf

        public static double inverseErf(double y)
                                 throws NumericException

        Returns the inverse error function erf-1(y).

        References:

        1. Eric W. Weisstein. "Erf." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erf.html

        Parameters:
        y - the evaluation point.
        Returns:
        the value x, such that erf(x) == y
        Throws:
        NumericException - if the value could not be computed.
        Since:
        1.2

DMelt 3.0 © DataMelt by jWork.ORG