On Sun, 24 Jan 2010 16:11:03 -0500, Dave Angel da...@ieee.org wrote:
I didn't think of simply summing the logs.
A couple terms of Stirling's approximation work pretty well:
def log_fact_half( N ):
log_fact_half( n ) returns the natural logarithm of the factorial of n/2.
n need not be an
On Sat, Jan 23, 2010 at 4:55 PM, kj no.em...@please.post wrote:
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other factorial-based
combinatorial indices. I'm
Maybe this could be of interest :
http://tnt.math.metro-u.ac.jp/nzmath/manual/modules/combinatorial.html
hope this helps Id
--
http://mail.python.org/mailman/listinfo/python-list
kj wrote:
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other factorial-based
combinatorial indices. I'm looking for something that can handle
fairly large
* Dave Angel:
kj wrote:
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other factorial-based
combinatorial indices. I'm looking for something that can handle
fairly
Alf P. Steinbach wrote:
div class=moz-text-flowed style=font-family: -moz-fixed* Dave
Angel:
kj wrote:
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other
On Jan 23, 2:55 pm, kj no.em...@please.post wrote:
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other factorial-based
combinatorial indices. I'm looking for
Dave Angel wrote:
But I still think there must be code for the gamma function that would
be quicker. But I haven't chased that lead.
Log of the gamma function is also an algorithm in its own right (e.g.
published in _Numerical Recipes_.)
Mel.
--
Before I go off to re-invent a thoroughly invented wheel, I thought
I'd ask around for some existing module for computing binomial
coefficient, hypergeometric coefficients, and other factorial-based
combinatorial indices. I'm looking for something that can handle
fairly large factorials (on the