pcastine
02-14-2006, 04:38 PM
Hello,
I'm looking for code to calculate digamma & Co. (polygamma functions, aka psi). This is (AFAICT) not addressed in NR. Does anyone have pointers of where I could look? I've Googled both web and groups without finding anything helpful.
Looking at the definition of psi, it seems there must be a reasonable numeric approach, but it escapes me.
Thanks,
Peter
I'm looking for code to calculate digamma & Co. (polygamma functions, aka psi). This is (AFAICT) not addressed in NR. Does anyone have pointers of where I could look? I've Googled both web and groups without finding anything helpful.
Looking at the definition of psi, it seems there must be a reasonable numeric approach, but it escapes me.
Thanks,
Peter