org.apache.commons.math.special
Class Erf

java.lang.Object
  extended by org.apache.commons.math.special.Erf
All Implemented Interfaces:
java.io.Serializable

public class Erf
extends java.lang.Object
implements java.io.Serializable

This is a utility class that provides computation methods related to the error functions.

Version:
$Revision: 506601 $ $Date: 2007-02-12 12:37:49 -0700 (Mon, 12 Feb 2007) $
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serializable version identifier
 
Constructor Summary
private Erf()
          Default constructor.
 
Method Summary
static double erf(double x)
          Returns the error function erf(x).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serializable version identifier

See Also:
Constant Field Values
Constructor Detail

Erf

private Erf()
Default constructor. Prohibit instantiation.

Method Detail

erf

public static double erf(double x)
                  throws MathException
Returns the error function erf(x). The implementation of this method is based on:

Parameters:
x - the value.
Returns:
the error function erf(x)
Throws:
MathException - if the algorithm fails to converge.