public class MinArg extends SumType
curNumberOfParameters, numberOfParameters
Constructor and Description |
---|
MinArg() |
Modifier and Type | Method and Description |
---|---|
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.
|
checkNumberOfParameters, evaluate, run
checkStack, getNumberOfParameters, setCurNumberOfParameters
public java.lang.Object evaluate(java.lang.Object[] elements) throws ParseException
SumType
evaluate
in class SumType
elements
- the y valuesParseException
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
http://www.singularsys.com/jep Copyright © 2007 Singular Systems