Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.1 abs

abs(x)

Returns the absolute value (i.e., the distance from zero) of (each element of) numerical x. For instance: abs(6) and abs(-6) both yield 6. This function accepts complex arguments.

See also: sgn, Math Routines, Complex Functions