|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.xjep.function.SumType
org.lsmp.djep.xjep.function.MinArg
Field Summary |
Fields inherited from class org.lsmp.djep.xjep.function.SumType |
name |
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
MinArg()
|
Method Summary | |
java.lang.Object |
evaluate(Node node,
Variable var,
double min,
double max,
double inc,
java.lang.Object data,
ParserVisitor pv,
java.util.Stack stack)
Evaluates the node by repeatibly setting the value of the variable from min to max, and calculating the value of the first argument. |
java.lang.Object |
evaluate(java.lang.Object[] elements)
Evaluates the function given the set of y values. |
Methods inherited from class org.lsmp.djep.xjep.function.SumType |
evaluate, run |
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
checkStack, getNumberOfParameters, setCurNumberOfParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MinArg()
Method Detail |
public java.lang.Object evaluate(java.lang.Object[] elements) throws ParseException
SumType
evaluate
in class SumType
elements
- the y values
ParseException
public java.lang.Object evaluate(Node node, Variable var, double min, double max, double inc, java.lang.Object data, ParserVisitor pv, java.util.Stack stack) throws ParseException
SumType
evaluate
in class SumType
node
- var
- min
- max
- inc
- data
- pv
- stack
-
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |