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: 780933 $ $Date: 2009-06-02 00:39:12 -0400 (Tue, 02 Jun 2009) $

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
 

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.


Copyright (c) 2003-2010 Apache Software Foundation