The following math functions are available:
exp(), exp10() |
: |
powers of e and of 10 |
log(), log10() |
: |
logarithms base e and base 10 |
abs() or fabs() |
: |
absolute value |
sqrt() |
: |
square root |
sin(), cos(), tan() |
: |
sine, cosine, tangent |
asin(), acos(), atan() |
: |
inverse sine, cosine, tangent |
sinh(), cosh(), tanh() |
: |
hyperbolic sine, cosine, tangent |
rad() |
: |
degrees to radians |
deg() |
: |
radians to degrees |
j0(), j1() |
: |
Bessel functions of first kind |
y0(), y1() |
: |
Bessel functions of second kind |
erf() |
: |
error function |
erfc() |
: |
1 - erf() |
int() |
: |
returns integer part of argument |
rand() |
: |
returns random number between 0 and the argument |
step() |
: |
returns 0 if arg < 0, 1 otherwise |
|
All trigonometric functions use radians.
The C-library
rand()
routine supplies the random numbers -- thus the numbers returned
cannot be relied on for meaningful statistical analysis.