Next: stemleaf() Up: MacAnova Help File Previous: spool()   Contents

sqrt()

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



Keywords: transformations
sqrt(x) returns the square roots of the elements of x, when x is a
REAL scalar, vector, matrix or array.  The result has the same shape as
x.

If any element of x is MISSING, so is the corresponding element of
sqrt(x).  If any element of x < 0, the corresonding element of sqrt(x)
is MISSING.  In both cases a warning message is printed.

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

See topic 'transformations' for more information on sqrt().


Gary Oehlert 2003-01-15