public abstract class StackMachine.UnaryMathFunction extends StackMachine.MathFunction
UnaryMathFunction here.| Constructor and Description |
|---|
StackMachine.UnaryMathFunction() |
public int arity()
arity method here.int valuepublic void execute()
throws ParseException
execute method here.ParseException - if an error occurspublic abstract double eval(double x)
eval method here.x - a double valuedouble value