Next: log10() Up: MacAnova Help File Previous: lockvars()   Contents

log()

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



Keywords: transformations
log(x) returns the natural logarithm (base e log) 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
log(x).  If any element of x <= 0, the corresonding element of log(x)
is MISSING.  In both cases a warning message is printed.

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

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


Gary Oehlert 2003-01-15