Owning Class: advanced
Requires: MathScript RT Module
c = gamma_ln(a)
Legacy Name: gammaln
Computes the natural logarithm of the gamma function of the input elements. gamma_ln(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=gamma_ln(A)