Member of the advanced class.
c = gammaln(a)
Computes the natural logarithm of the gamma function of the input elements. gammaln(a) is equivalent to log(gamma(x)).
| Name | Description |
| a | Specifies a matrix. All elements of a must be real and positive. |
| Name | Description |
| c | Returns the natural logarithm of the gamma function of the elements in a. c is a matrix of the same size as a. |
A=[0.4, 1.3, 2.5, 3.7]
C=gammaln(A)