(02-06-2015 03:33 AM)BarryMead Wrote: (02-06-2015 01:39 AM)Bit Wrote: If you were referring to another math library, please let me know.

Bit I did a google search for "python math libraries inverse gamma" and found this code snippet here.

Without knowledge of your intended goal, and qualitative evaluation of the function in operation, I wouldn't be able to tell you if it is of any value or not.

Code:

import numpy as np

...

That piece of code implements the same initial approximation that's employed in the 34S algorithm but doesn't go further. Here's

some explanation and

some more. That approximation seems quite good (but I'm not an expert). What I've been trying to do is make the subsequent iterations converge faster.