public class Range extends PostfixMathCommand
Constructor and Description |
---|
Range() |
Modifier and Type | Method and Description |
---|---|
Object |
genRange(double low,
double inc,
int steps)
Generates a range [low,low+inc,...,low+inc*(steps-1)]
|
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
public Object genRange(double low, double inc, int steps)
low
- inc
- steps
- public void run(Stack inStack) throws ParseException
PostfixMathCommand
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics