On 5/8/07, Leigh J. Halliwell <[EMAIL PROTECTED]> wrote:
I know that the "!" primitive gives gamma(x+1).  But has anyone programmed
tacit functions for lngamma (as in Excel) and its derivative, the digamma
funtion?  Actually, I could also use the next two derivatives, the trigamma
and tetragamma functions.  Thanks.

gamma=: !@<:
lngamma=: [EMAIL PROTECTED]@<:
digamma=: [EMAIL PROTECTED]@<:D.1
trigamma=: [EMAIL PROTECTED]@<:D.2
tetragamma=: [EMAIL PROTECTED]@<:D.3

Or did I misunderstand you?

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to