org.apache.commons.math.special
Class Erf
java.lang.Object
org.apache.commons.math.special.Erf
- All Implemented Interfaces:
- Serializable
- public class Erf
- extends Object
- implements Serializable
This is a utility class that provides computation methods related to the
error functions.
- Version:
- $Revision: 1.2 $ $Date: 2004/06/23 16:26:17 $
- See Also:
- Serialized Form
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 |
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.
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.