org.apache.commons.math.special
Class Erf

java.lang.Object
  extended by org.apache.commons.math.special.Erf

public class Erf
extends Object

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

Version:
$Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $

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
 

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.


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.