[ROOT] complex gamma function

From: Christian.Doerr@mpi-hd.mpg.de
Date: Tue May 28 2002 - 11:23:43 MEST


Hello everybody,

today's question is about TMath::Gamma(double)
As I understand it, gamma can only have real arguments, how can I
calculate Gamma(z) with z complex??

The algorithm from Numerical Recipes (on which TMath::Gamma() is based
appearantly) should also work for complex z.

Thanks for any advice,

Cheers, Christian



-----------------------------------------------------------
Christian Doerr
Max-Planck-Institut fuer Kernphysik, Heidelberg
Bothe-Labor, room 232                phone: +49-6221-516-259
email: C.Doerr@mpi-hd.mpg.de         www.christiandoerr.de
-----------------------------------------------------------

     "Obi Wan taught you well, young Skywalker."



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET