math

functions
   abs            erf            int            sin            
   atan           erfc           log            sqrt           
   cos            exp            log10          tanh           
The above math functions return a double precision value and take a double precision argument.

DIAGNOSTICS

Arguments which are out of range give an argument domain diagnostic.

These functions call the library routines supplied by the compiler.


sin

math

trigonometric function of radian argument.

see sin for the Vector class.


cos

math
trigonometric function of radian argument.

see sin


atan

math
returns the arc-tangent of y/x in the range -PI/2 to PI/2. (x > 0)


tanh

math
hyperbolic tangent. see tanh for the Vector class.


log

math
logarithm to the base e see log for the Vector class.


log10

math
logarithm to the base 10

see log10 for the Vector class.


exp

math
returns the exponential function to the base e


sqrt

math
square root

see sqrt for the Vector class.


int

math
returns the integer part of its argument (truncates toward 0).


abs

math
absolute value

see abs for the Vector class.


erf

math
normalized error function @eqn \[{\rm erf}(z) = \frac{2}{\sqrt{\pi}} \int_{0}^{z} e^{-t^2} dt\] @endeqn


erfc

math
returns 1.0 - erf(z) but on sun machines computed by other methods that avoid cancellation for large z.


neuron/general/function/sin.hel : 1230 Jul 19