jhplot.math.num.special
Class Erf
- java.lang.Object
-
- jhplot.math.num.special.Erf
-
public final class Erf extends java.lang.ObjectUtility class that provides methods related to the error function.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubleerf(double x)Returns the error function erf(x) (1).static doubleerfc(double x)Returns the complementary error function erfc(x) (1).static doubleinverseErf(double y)Returns the inverse error function erf-1(y).
-
-
-
Method Detail
-
erf
public static double erf(double x) throws NumericExceptionReturns 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 NumericExceptionReturns 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 NumericExceptionReturns 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