ABS

The ABS function returns the absolute value of the expression a.

Format

ABS(a)

Arguments

 
a
Any valid function expression.

Number of Arguments: 1

Examples

Variable/1, FUNCTION= ABS(DX(21,11)*VX(21,11)+DY(21,11)*VY(21,11)
+ DZ(21,11)*VZ(21,11))
This variable statement defines a new state variable. Its value is the absolute value of the radial velocity between Markers 21 and 11.
See other FORTRAN 77 intrinsic functions available.