gammaln

Log gamma function.

Syntax

x = gammaln(a)

Inputs

a
Type: double | integer
Dimension: scalar | vector | matrix

Outputs

x
gammaln function values.
Dimension: scalar | vector | matrix

Examples

Scalar case:
x = gammaln(200)
x = 857.93367
Matrix case:
x = gammaln([100, 200])
x = [Matrix] 1 x 2
359.13421  857.93367