<< gamma | Special functions | gcd >> |
R = gammaln(M) |
a real single or real double matrix.
result of gammaln function.
The function gammaln(A) computes the natural logarithm of the gamma function for a given input A, expressed as gammaln(A) = log(gamma(A)).
It's important to note that A must be a nonnegative real number.
Using gammaln helps prevent potential underflow and overflow issues that might arise if directly computing log(gamma(A)).
R = gammaln([0:0.1:pi])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET