include "math.m"; math:= load Math Math->PATH; cbrt, sqrt : fn(x: real) : real; pow : fn(x, y: real): real; pow10 : fn(p: int) : real; hypot : fn(x, y: real): real; exp, expm1, log, log10, log1p: fn(x: real): real; cos, cosh, sin, sinh, tan, tanh: fn(x: real): real; acos, acosh, asin, asinh, atan, atanh: fn(x: real): real; atan2 : fn(y, x: real): real; lgamma : fn(x: real) :(int, real); erf, erfc : fn(x: real) : real; j0, j1, y0, y1: fn(x: real) : real; jn, yn : fn(n: int, x: real): real;
The trigonometric functions use radians. The ranges of the inverse functions are:
acos
|
[0,]
|
asin
|
[-/2,/2]
|
atan
|
[-/2,/2]
|
atan2 (y, x) = arctan (y /x)
|
[-,]
|
lgamma (x)
|
The gamma function. The tuple returned, (s, lg) encodes the gamma function by G(x) = s *exp(lg).
|
The hyperbolic trigonometric functions, for example sinh, behave as expected.
erf (x)
|
The error function.
|
erfc (x)
|
Equivalent to 1 - erf(x).
|
The Bessel functions are computed by j0, j1, jn, y0, y1, and yn.
See Also
Limbo Math Module