jhplot.math.num.special
Class Erf
- java.lang.Object
-
- jhplot.math.num.special.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).
-
-
-
Method Detail
-
erf
public static double erf(double x) throws NumericException
Returns the error function erf(x) (1).
References:
- Eric W. Weisstein. "Erf." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Erf.html
- Parameters:
x
- the evaluation point.- Returns:
- erf(x)
- Throws:
NumericException
- if the value could not be computed.
-
erfc
public static double erfc(double x) throws NumericException
Returns the complementary error function erfc(x) (1).
References:
- 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:
- 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