tracer.expression
Class oneArgFunction

java.lang.Object
  |
  +--tracer.expression.Function
        |
        +--tracer.expression.oneArgFunction
Direct Known Subclasses:
absFunc, acosFunc, actanFunc, asinFunc, atanFunc, boxFunc, ceilFunc, cosFunc, ctanFunc, exp10Func, expFunc, floorFunc, lnFunc, logFunc, roundFunc, sincFunc, sinFunc, sqrFunc, sqrtFunc, tanFunc

public abstract class oneArgFunction
extends Function

Abstract class type for single argument functions.


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
oneArgFunction()
          Constructs a function with one arguement.
 
Method Summary
 double apply(double a, double b)
           
 
Methods inherited from class tracer.expression.Function
apply, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

oneArgFunction

public oneArgFunction()
Constructs a function with one arguement.
Method Detail

apply

public double apply(double a,
                    double b)
Overrides:
apply in class Function