abs(x), x REAL or a structure with REAL components |

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. 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(). See topic 'transformations' for more information on abs().

Gary Oehlert 2003-01-15