Arithmetic expressions can be evaluated in a FORTRAN style. Five basic operators are defined:
"+" Addition "-" Subtraction "*" Multiplication "/" Division "**" ExponentiationThe usual hierarchy of operators holds. The parts of the expression can be grouped with parentheses "(",")" in order to circumvent the standard hierarchy
Several intrinsic functions have been defined, see "functions" for a full listing.
Examples of valid expressions are:
1 1+3*(sin(3.14*r[1])) x[1]*0.155 asind(0.5)