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: 155427 $ $Date: 2005-02-26 06:11:52 -0700 (Sat, 26 Feb 2005) $
- 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-2009 The Apache Software Foundation. All Rights Reserved.