tracer.expression
Class sqrFunc

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

public class sqrFunc
extends oneArgFunction

Square function


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
sqrFunc()
           
 
Method Summary
 double apply(double a)
          Returns the square root of a.
 java.lang.String toString()
          Return string "SQR"
 
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

sqrFunc

public sqrFunc()
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 "SQR"
Overrides:
toString in class Function