pal.math
Class ErrorFunction

java.lang.Object
  extended by pal.math.ErrorFunction

public class ErrorFunction
extends java.lang.Object

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
ErrorFunction()
           
 
Method Summary
static double erf(double x)
          error function
static double erfc(double x)
          complementary error function = 1-erf(x)
static double inverseErf(double z)
          inverse error function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorFunction

public ErrorFunction()
Method Detail

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