next up previous contents index
Next: LOG Up: A. Function Reference Previous: LN   Contents   Index


LNGAMMA

Syntax: LNGAMMA(X)

X = a numeric value greater than or equal to 0

LNGAMMA returns the log base e of the gamma function evaluated at X. The function is given by:

\begin{displaymath}
\log \left( \int_0^\infty e^{-x} x^{n-1} dx \right)
\end{displaymath}

Examples:

LNGAMMA(1.20) = -0.08537

LNGAMMA(10) = 12.801827

LNGAMMA(D30) = Error - LNGAMMA, domain is x $>$ 0, where D30 = 0

LNGAMMA(K19) = 9.9677617, where K19 = 8.7

Excel function: N/A


next up previous contents index
Next: LOG Up: A. Function Reference Previous: LN   Contents   Index
SpreadScript User's Guide, Version 1.2
Grey Trout Software
02 March 2003