Gammaln

Parent Previous Next

Gammaln


Natural logarithm of Gamma function



Syntax


gammaln(x)

x is a real number

Return the natural logarithm of gamma function of x


x is real row/column array

Return a vector in which each element is the natural logarithm of gamma function of x[i]


Example


Input

Output

gammaln(7.4)

gammaln([2.5; 2.9; 4.0; 0.2;11.3])


See Also


Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source