@PublicationReference(title="ErrorFunction.java", author={"Robert Sedgewick","Kevin Wayne"}, type=WebPage, year=2007, url="http://www.cs.princeton.edu/introcs/21function/ErrorFunction.java.html") public static class UnivariateGaussian.ErrorFunction extends AbstractUnivariateScalarFunction
Modifier and Type | Class and Description |
---|---|
static class |
UnivariateGaussian.ErrorFunction.Inverse
Inverse of the ErrorFunction
|
Modifier and Type | Field and Description |
---|---|
static UnivariateGaussian.ErrorFunction |
INSTANCE
Default instance.
|
Constructor and Description |
---|
ErrorFunction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluate(double z)
Computes the Gaussian Error Function using Horner's Method.
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, evaluateAsDouble
public static final UnivariateGaussian.ErrorFunction INSTANCE
public double evaluate(double z)
z
- value on the interval (-infinity,infinity)