Next: lineplot() Up: MacAnova Help File Previous: length()   Contents

lgamma()

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



Keywords: transformations
lgamma(x) returns the natural logarithm of the gamma function of the
elements of x, when x is a REAL scalar, vector, matrix or array.  The
result has the same shape as x.  When x is an integer, lgamma(x) =
log((x-1)!).

If any element of x is MISSING, so is the corresponding element of
lgamma(x).  If any element of x <= 0 or x > 2.5599833278516e305, the
corresonding element of lgamma(x) is MISSING.  In both cases a warning
message is printed.

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

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


Gary Oehlert 2003-01-15