SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.function.special
Class Erfc

java.lang.Object
  extended by com.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction
      extended by com.numericalmethod.suanshu.analysis.function.special.Erfc
All Implemented Interfaces:
Function, RealScalarFunction

public class Erfc
extends UnivariateRealFunction

This computes an approximation to the complementary error function, erfc(x).

See Also:
Wikipedia: Error function

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function
Function.EvaluationException
 
Constructor Summary
Erfc()
           
 
Method Summary
 double evaluate(double x)
          Compute f(x).
 
Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction
dimension4Domain, dimension4Range, evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Erfc

public Erfc()
Method Detail

evaluate

public double evaluate(double x)
Description copied from class: UnivariateRealFunction
Compute f(x).

Specified by:
evaluate in class UnivariateRealFunction
Parameters:
x - x
Returns:
f(x)

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.