|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vmm.functions.Function vmm.functions.Function1
public class Function1
Represents a real-valued function of one real argument. A Function1 can only be created by a Parser.
Parser.parseFunction1(String, String, String)
Field Summary |
---|
Fields inherited from class vmm.functions.Function |
---|
func |
Method Summary | |
---|---|
double |
value(double x)
Find the value of this Function at a specified argument value, using an EvalStack that is unique to the current Thread. |
double |
value(double x,
EvalStack stack)
Find the value of this Function at a specified argument value, using an EvalStack that is provided as a parameter to this method. |
Methods inherited from class vmm.functions.Function |
---|
getArity, getName, setName, value, value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double value(double x)
x
- the argument value for which the function will be evaluatedpublic double value(double x, EvalStack stack)
x
- the argument value for which the function will be evaluatedstack
- a non-null EvalStack that will be used for computing the value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |