Next: acos() Up: MacAnova Help File Previous: MacAnova Help File   Contents

abs()

Usage:
abs(x), x REAL or a structure with REAL components



Keywords: transformations
                                  Usage
abs(x) returns the absolute values of the elements of x, when x is a
REAL scalar, vector, matrix or array.  The result has the same shape as
x.

When any element of x is MISSING, so is the corresponding element of
abs(x) and a warning message is printed.

                           Structure argument
When x is a structure, all of whose non-structure components are REAL,
abs(x) is a structure of the same shape and with the same component
names as x, with each non-structure component transformed by abs().

                             Cross reference
See topic 'transformations' for more information on abs().


Gary Oehlert 2005-08-12