public class MinArg extends SumType
Constructor and Description |
---|
MinArg() |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
evaluate(Object[] elements)
Evaluates the function given the set of y values.
|
checkNumberOfParameters, evaluate, run
getNumberOfParameters, setCurNumberOfParameters
public Object evaluate(Object[] elements) throws ParseException
SumType
evaluate
in class SumType
elements
- the y valuesParseException
public 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
Jas4pp 1.5 © Java Analysis Studio for Particle Physics