tracer.expression
Class sinFunc

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

public class sinFunc
extends oneArgFunction

Sine function


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

sinFunc

public sinFunc()
Method Detail

apply

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

toString

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