tracer.expression
Class sqrtFunc

java.lang.Object
  |
  +--tracer.expression.Function
        |
        +--tracer.expression.oneArgFunction
              |
              +--tracer.expression.sqrtFunc

public class sqrtFunc
extends oneArgFunction

Square Root function


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
sqrtFunc()
           
 
Method Summary
 double apply(double a)
          Returns the square root of a.
 java.lang.String toString()
          Return string "SQRT"
 
Methods inherited from class tracer.expression.oneArgFunction
apply
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

sqrtFunc

public sqrtFunc()
Method Detail

apply

public double apply(double a)
Returns the square root of a.
Overrides:
apply in class Function

toString

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