Math 302, Differential Equations JHU


com.rychlik.calculator
Class StackMachine.Abs

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

public class StackMachine.Abs
extends StackMachine.UnaryMathFunction

Describe class Abs here.

See Also:
Serialized Form

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

public StackMachine.Abs()
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:29:27 2004
Questions? Comments? Please send feedback to jason howald