gamma Special Functions legendre

Scilab manual >> Special Functions > gammaln

gammaln

The logarithm of gamma function.

Calling Sequence

y = gammaln(x)

Arguments

x

real vector

y

real vector with same size.

Description

gammaln(x) evaluates the logarithm of gamma function at all the elements of x, avoiding underflow and overflow. x must be real.

Examples

gammaln(0.5)

See Also

Authors

W. J. Cody and L. Stoltz (code from Netlib (specfun))

gamma Special Functions legendre