tracer.expression
Class cosFunc

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

public class cosFunc
extends oneArgFunction

Cosine function


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
cosFunc()
           
 
Method Summary
 double apply(double a)
          Returns the trigonometric cosine of an angle.
 java.lang.String toString()
          Return string "COS"
 
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

cosFunc

public cosFunc()
Method Detail

apply

public double apply(double a)
Returns the trigonometric cosine of an angle.
Overrides:
apply in class Function

toString

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