Next: 6.6 Files
Up: 6 GENERAL PROGRAM STRUCTURE
Previous: 6.4 Expressions
6.5 Intrinsic functions
Expressions may contain the following intrinsic functions:
- ABS(expr)
- Absolute value
- MAX(expr,expr, ...)
- Largest value of arbitrary number of numbers or expressions
- MIN(expr,expr, ...)
- Smallest value of arbitrary number of numbers of expressions
- EXP(expr)
- Exponential
- LOG(expr)
- Natural Logarithm
- LOG10(expr)
- Common Logarithm
- SQRT(expr)
- Square Root
- NINT(expr)
- Next nearest integer
- INT(expr)
- Truncate to integer
- SIN(expr)
- Sine
- COS(expr)
- Cosine
- TAN(expr)
- Tangent
- ASIN(expr)
- Arcsine
- ACOS(expr)
- Arccosine
- ATAN(expr)
- Arctangent
- COSH(expr)
- Hyperbolic cosine
- SINH(expr)
- Hyperbolic sine
- TANH(expr)
- Hyperbolic tangent
- MOD(expr1 , expr2 )
- Remainder: expr1-INT(expr1/expr2)*expr2
Note: all trigonometric functions use or produce angles in degrees.
P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002