com.rychlik.calculator
Class StackMachine.Exp

java.lang.Object
  extended by com.rychlik.calculator.StackMachine.MathFunction
      extended by com.rychlik.calculator.StackMachine.UnaryMathFunction
          extended by com.rychlik.calculator.StackMachine.Exp
All Implemented Interfaces:
StackMachine.Instruction, java.io.Serializable
Enclosing class:
StackMachine

public class StackMachine.Exp
extends StackMachine.UnaryMathFunction

Describe class Exp here.

See Also:
Serialized Form

Constructor Summary
StackMachine.Exp()
           
 
Method Summary
 double eval(double x)
          Describe eval method here.
 java.lang.String getName()
          Describe getName method here.
 
Methods inherited from class com.rychlik.calculator.StackMachine.UnaryMathFunction
arity, execute
 
Methods inherited from class com.rychlik.calculator.StackMachine.MathFunction
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackMachine.Exp

public StackMachine.Exp()
Method Detail

eval

public double eval(double x)
Describe eval method here.

Specified by:
eval in class StackMachine.UnaryMathFunction
Parameters:
x - a double value
Returns:
a double value

getName

public java.lang.String getName()
Describe getName method here.

Specified by:
getName in class StackMachine.MathFunction
Returns:
a String value