Next: Symbolic Constants
Up: Using MathMaps
Previous: Bitwise Operators
The following functions are available:
- ABS(X): Absolute value of X (sign removal), same as FABS(X).
- ACOS(X): Inverse cosine of X, in radians.
- ACOSD(X): Inverse cosine of X, in degrees.
- ACOSH(X): Inverse hyperbolic cosine of X.
- ACOTH(X): Inverse hyperbolic cotangent of X.
- ACSCH(X): Inverse hyperbolic cosecant of X.
- AINT(X): Integer part of X (round towards zero), same as INT(X).
- ASECH(X): Inverse hyperbolic secant of X.
- ASIN(X): Inverse sine of X, in radians.
- ASIND(X): Inverse sine of X, in degrees.
- ASINH(X): Inverse hyperbolic sine of X.
- ATAN(X): Inverse tangent of X, in radians.
- ATAND(X): Inverse tangent of X, in degrees.
- ATANH(X): Inverse hyperbolic tangent of X.
- ATAN2(X1, X2): Inverse tangent of X1/X2, in radians.
- ATAN2D(X1, X2): Inverse tangent of X1/X2, in degrees.
- CEIL(X): Smallest integer value not less then X (round towards
plus infinity).
- COS(X): Cosine of X in radians.
- COSD(X): Cosine of X in degrees.
- COSH(X): Hyperbolic cosine of X.
- COTH(X): Hyperbolic cotangent of X.
- CSCH(X): Hyperbolic cosecant of X.
- DIM(X1, X2): Returns X1-X2 if X1 is greater than X2, otherwise 0.
- EXP(X): Exponential function of X.
- FABS(X): Absolute value of X (sign removal), same as ABS(X).
- FLOOR(X): Largest integer not greater than X (round towards
minus infinity).
- FMOD(X1, X2): Remainder when X1 is divided by X2, same as
MOD(X1, X2).
- GAUSS(X1, X2): Random sample from a Gaussian distribution with mean
X1 and standard deviation X2.
- INT(X): Integer part of X (round towards zero), same as AINT(X).
- ISBAD(X): Returns 1 if X has the
bad
value, otherwise 0.
- LOG(X): Natural logarithm of X.
- LOG10(X): Logarithm of X to base 10.
- MAX(X1, X2, ...): Maximum of two or more values.
- MIN(X1, X2, ...): Minimum of two or more values.
- MOD(X1, X2): Remainder when X1 is divided by X2, same as
FMOD(X1, X2).
- NINT(X): Nearest integer to X (round to nearest).
- POISSON(X): Random integer-valued sample from a Poisson
distribution with mean X.
- POW(X1, X2): X1 raised to the power of X2.
- RAND(X1, X2): Random sample from a uniform distribution in the
range X1 to X2 inclusive.
- SECH(X): Hyperbolic secant of X.
- SIGN(X1, X2): Absolute value of X1 with the sign of X2
(transfer of sign).
- SIN(X): Sine of X in radians.
- SINC(X): Sinc function of X [= SIN(X)/X].
- SIND(X): Sine of X in degrees.
- SINH(X): Hyperbolic sine of X.
- SQR(X): Square of X (= X
X).
- SQRT(X): Square root of X.
- TAN(X): Tangent of X in radians.
- TAND(X): Tangent of X in degrees.
- TANH(X): Hyperbolic tangent of X.
Next: Symbolic Constants
Up: Using MathMaps
Previous: Bitwise Operators
KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council