[Gretl-users] Factorial

Allin Cottrell cottrell at wfu.edu
Tue Oct 10 10:55:21 EDT 2006


On Tue, 10 Oct 2006, Ignacio Díaz-Emparanza wrote:

> Is there a way to use a factorial of a number in a "genr" formula?
> I do not find it in the manual.
>
> I mean for example
> genr F = 4! 			(=4x3x2x1)

No, it's not in the manual, but you can get x! using

genr F = gamma(x+1)

Allin Cottrell


More information about the Gretl-users mailing list