|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.numerics.specialfunctions.ErrorFunction
public class ErrorFunction
Computes the error function for a real argument. Can be instantiated as a Function or can be used with static methods.
Constructor Summary | |
---|---|
ErrorFunction()
|
Method Summary | |
---|---|
static double |
errf(double x)
Error function. |
double |
evaluate(double x)
Evaluates the error function in order to implement the Function interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorFunction()
Method Detail |
---|
public double evaluate(double x)
evaluate
in interface Function
x
-
public static double errf(double x)
x
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |