Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |
Function: | lgamma | |
Description: |
lgamma computes logarithm of the gamma function.
|
Usage: | l = gamma(x) | |
Input: | ||
x | n x 1 vector, x > 0 elementwise | |
Output: | ||
l | n x 1 vector, natural logarithm of gamma(x) |
lgamma(5)
Contents of lgamma [1,] 3.178
Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |