On This Page

Home / Search/ Language Reference/ Functions/ Scalar Functions/ Mathematical Functions/loggamma

loggamma ​

The loggamma function computes log of absolute value of the loggamma function.

Syntax ​

loggamma( X )

Arguments ​

  • X: Parameter for the gamma function.

Results ​

Returns the natural logarithm of the absolute value of the gamma function of X.

Examples ​

This returns 4.787:

print loggamma( 6 )