org.hawk.module.lib
Class MathModule

java.lang.Object
  extended by org.hawk.module.lib.MathModule
All Implemented Interfaces:
IModule

public class MathModule
extends java.lang.Object
implements IModule


Constructor Summary
MathModule()
           
 
Method Summary
 java.lang.String abs(java.lang.Object... args)
           
 java.lang.String aCos(java.lang.Object... args)
           
 java.lang.String aSin(java.lang.Object... args)
           
 java.lang.String aTan(java.lang.Object... args)
           
 java.lang.String ceil(java.lang.Object... args)
           
 java.lang.String cos(java.lang.Object... args)
           
 java.lang.String cosh(java.lang.Object... args)
           
 java.lang.String exp(java.lang.Object... args)
           
 java.lang.String floor(java.lang.Object... args)
           
 java.lang.String log(java.lang.Object... args)
           
 boolean reset()
          This resets one cycle of execution.
 java.lang.String sin(java.lang.Object... args)
           
 java.lang.String sinh(java.lang.Object... args)
           
 java.lang.String squareRoot(java.lang.Object... args)
           
 boolean startUp()
          The target application's main module needs to implement it for its initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathModule

public MathModule()
Method Detail

startUp

public boolean startUp()
Description copied from interface: IModule
The target application's main module needs to implement it for its initialization.

Specified by:
startUp in interface IModule
Returns:

reset

public boolean reset()
Description copied from interface: IModule
This resets one cycle of execution. This is useful when hawk is run in property mode.

Specified by:
reset in interface IModule
Returns:

squareRoot

public java.lang.String squareRoot(java.lang.Object... args)
                            throws java.lang.Exception
Throws:
java.lang.Exception

sin

public java.lang.String sin(java.lang.Object... args)
                     throws java.lang.Exception
Throws:
java.lang.Exception

sinh

public java.lang.String sinh(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

cos

public java.lang.String cos(java.lang.Object... args)
                     throws java.lang.Exception
Throws:
java.lang.Exception

cosh

public java.lang.String cosh(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

exp

public java.lang.String exp(java.lang.Object... args)
                     throws java.lang.Exception
Throws:
java.lang.Exception

aSin

public java.lang.String aSin(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

aCos

public java.lang.String aCos(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

aTan

public java.lang.String aTan(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

abs

public java.lang.String abs(java.lang.Object... args)
                     throws java.lang.Exception
Throws:
java.lang.Exception

ceil

public java.lang.String ceil(java.lang.Object... args)
                      throws java.lang.Exception
Throws:
java.lang.Exception

floor

public java.lang.String floor(java.lang.Object... args)
                       throws java.lang.Exception
Throws:
java.lang.Exception

log

public java.lang.String log(java.lang.Object... args)
                     throws java.lang.Exception
Throws:
java.lang.Exception