com.dandymadeproductions.expressionparser.functions
Class SubFunc

java.lang.Object
  extended by com.dandymadeproductions.expressionparser.functions.Function
      extended by com.dandymadeproductions.expressionparser.functions.TwoArgFunction
          extended by com.dandymadeproductions.expressionparser.functions.SubFunc

public class SubFunc
extends TwoArgFunction

Subtraction Function Java Class.

Version:
1.6 02/11/2012
Author:
David Wanqian Liu, Dana M. Proctor

Field Summary
 
Fields inherited from class com.dandymadeproductions.expressionparser.functions.Function
numArgs
 
Constructor Summary
SubFunc()
           
 
Method Summary
 Complex apply(Complex a, Complex b)
           
 double apply(double a, double b)
           
 java.lang.String toString()
           
 
Methods inherited from class com.dandymadeproductions.expressionparser.functions.TwoArgFunction
apply, 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)
Specified by:
apply in class Function

apply

public Complex apply(Complex a,
                     Complex b)
Specified by:
apply in class Function

toString

public java.lang.String toString()
Specified by:
toString in class Function