Math 302, Differential Equations JHU


com.rychlik.calculator
Class StackMachine.Negate

java.lang.Object
  |
  +--com.rychlik.calculator.StackMachine.MathFunction
        |
        +--com.rychlik.calculator.StackMachine.UnaryMathFunction
              |
              +--com.rychlik.calculator.StackMachine.Negate
All Implemented Interfaces:
java.io.Serializable, StackMachine.Instruction
Enclosing class:
StackMachine

public class StackMachine.Negate
extends StackMachine.UnaryMathFunction

Describe class Negate here.

See Also:
Serialized Form

Constructor Summary
StackMachine.Negate()
           
 
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.Negate

public StackMachine.Negate()
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



This page last modified Sun Sep 12 12:30:16 2004
Questions? Comments? Please send feedback to jason howald