www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Re: Statistics library

Don Wrote:
 Also, Tango doesn't have hypergeometric.

You're right. It's still on my hard disk, I wasn't quite happy it.

Yes, I'm replying to a post from 3+ months ago, but I couldn't find any other way to contact you, Don. I'm trying to improve a few aspects of this library by borrowing code from MathExtra/Tango in some cases (mainly in the distributions module) where the MathExtra/Tango implementation was better than mine. For example, until recently I was unaware that binomial distributions could simply be calculated in O(1) in terms of the incomplete beta function. I'm now also trying to make my hypergeometric CDF code scale this well. Could you please send me, or post somewhere, your hypergeometric CDF code, even if it sucks in its current form, so I can compare it to a few implementations I wrote, try to improve it, etc.? Thanks.
Jan 02 2009