ABS will function on integer, real and complex numbers.Function Purpose:
This intrinsic function will take the argument that is encapsulated in parenthesis and return its absolute value. Note: For complex numbers, the function will return the square root of the sum of the squares of the real and imaginary parts.Required Arguments:
Where x is either a REAL, INTEGER or COMPLEX argument.
There are none.
For the following variables:
x1 = 29.0e3
number = -56
abs(x1) and abs(number) will produce 29.0e3 and 56 respectivly.
For more information and examples see:
lectures seven, and sixteen
examples newton1.f, odeint.f, secant.f
Written by Jason Wehr : email@example.com and Maintained by John Mahaffy : firstname.lastname@example.org