Complex Digamma function in gsl

Gerard Jungman
Wed May 31 11:44:00 GMT 2006

On Sat, 2006-05-27 at 14:42 +0100, Brian Gough wrote:
> Jerry, what's your opinion on the CPSI routine in SLATEC?  It looks
> fairly simple.

I looked at it; it's simple enough, once you get past the
fortran kookiness. One reason I never did a complex version
was that I wanted to also have complex versions for the
general polygamma functions (not just the first), and I
was too tired to do all of that.

But since there is some demand, I have now implemented
psi(z) for complex z. It is checked into CVS, but it
is not tested yet. The problem is that I cannot get
test_sf.c to build; it fails to find some symbols
from the library for complex math, declared in 

Brian, can you look at this and figure out what
is going on? If I can get the tests to build, I
can wrap this up.

Gerard Jungman <>
Los Alamos National Laboratory

More information about the Gsl-discuss mailing list