|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nfunk.jep.function.PostfixMathCommand org.lsmp.djep.xjep.function.SumType org.lsmp.djep.xjep.function.MaxArg
public class MaxArg
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 | |
---|---|
MaxArg()
|
Method Summary | |
---|---|
java.lang.Object |
evaluate(Node node,
Variable var,
double min,
double max,
double inc,
EvaluatorI pv)
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 |
---|
checkNumberOfParameters, 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 MaxArg()
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, EvaluatorI pv) throws ParseException
SumType
SumType.evaluate(Object[])
is more useful. If they do they should follow the pattern used here.
evaluate
in class SumType
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |