tracer.expression
Class subFunc

java.lang.Object
  |
  +--tracer.expression.Function
        |
        +--tracer.expression.twoArgFunction
              |
              +--tracer.expression.subFunc

public class subFunc
extends twoArgFunction

Substraction function


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
subFunc()
           
 
Method Summary
 double apply(double a, double b)
          Returns substraction of two arguments a-b.
 java.lang.String toString()
          Return string "-".
 
Methods inherited from class tracer.expression.twoArgFunction
apply
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

subFunc

public subFunc()
Method Detail

apply

public double apply(double a,
                    double b)
Returns substraction of two arguments a-b.
Overrides:
apply in class Function

toString

public java.lang.String toString()
Return string "-".
Overrides:
toString in class Function