com.dandymadeproductions.expressionparser.functions
Class SqrFunc

java.lang.Object
  extended by com.dandymadeproductions.expressionparser.functions.Function
      extended by com.dandymadeproductions.expressionparser.functions.OneArgFunction
          extended by com.dandymadeproductions.expressionparser.functions.SqrFunc

public class SqrFunc
extends OneArgFunction

Square 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
SqrFunc()
           
 
Method Summary
 Complex apply(Complex a)
           
 double apply(double a)
           
 java.lang.String toString()
           
 
Methods inherited from class com.dandymadeproductions.expressionparser.functions.OneArgFunction
apply, apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqrFunc

public SqrFunc()
Method Detail

apply

public double apply(double a)
Specified by:
apply in class Function

apply

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

toString

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