Package pal.math
Class ErrorFunction
java.lang.Object
pal.math.ErrorFunction
error function and related stuff
- Version:
- $Id: ErrorFunction.java,v 1.2 2001/07/13 14:39:13 korbinian Exp $
- Author:
- Korbinian Strimmer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
erf
(double x) error functionstatic double
erfc
(double x) complementary error function = 1-erf(x)static double
inverseErf
(double z) inverse error function
-
Constructor Details
-
ErrorFunction
public ErrorFunction()
-
-
Method Details
-
erf
public static double erf(double x) error function- Parameters:
x
- argument- Returns:
- function value
-
erfc
public static double erfc(double x) complementary error function = 1-erf(x)- Parameters:
x
- argument- Returns:
- function value
-
inverseErf
public static double inverseErf(double z) inverse error function- Parameters:
z
- argument- Returns:
- function value
-