nslj.src.math
Class NslSqrt

java.lang.Object
  |
  +--EDU.gatech.cc.is.abstractrobot.ControlSystemS
        |
        +--EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150
              |
              +--nslj.src.lang.NslBase
                    |
                    +--nslj.src.math.NslUnaryOperator
                          |
                          +--nslj.src.math.NslSqrt

public final class NslSqrt
extends NslUnaryOperator

Sqrt routines. There are two basic format for the evaluation method in this routine: 1, eval(a) -> c a is the parameter of the evaluation function to do sqrt(a) pointwise and the result is passed out as c 2. eval(dest, a) -> c a, b are the parameter of the evaluation function and dest is the temporary space to hold the result. The method returns the reference to dest.


Fields inherited from class nslj.src.lang.NslBase
_accessChar, _name, _parent
 
Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150
abstract_robot
 
Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS
CSSTAT_DONE, CSSTAT_ERROR, CSSTAT_OK, seed
 
Constructor Summary
NslSqrt()
           
 
Method Summary
 double value(double a)
           
 float value(float a)
           
 int value(int a)
           
 
Methods inherited from class nslj.src.math.NslUnaryOperator
eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, eval, value
 
Methods inherited from class nslj.src.lang.NslBase
nslGetAccess, nslGetName, nslGetParent, nslGetParentClass, nslGetParentModule, nslGetRealName, nslNullifyParent, nslSetAccess, nslSetName, nslSetParent
 
Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150
init
 
Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS
configure, Configure, getAbstractRobot, Init, quit, takeStep, TakeStep, trialEnd, TrialEnd, trialInit, TrialInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NslSqrt

public NslSqrt()
Method Detail

value

public int value(int a)
Overrides:
value in class NslUnaryOperator

value

public float value(float a)
Overrides:
value in class NslUnaryOperator

value

public double value(double a)
Overrides:
value in class NslUnaryOperator