Re: [Numpy-discussion] binomial, multinomial coefficients

2007-09-14 Thread Robert Kern
Charles R Harris wrote: > Does anyone know if there are routines in scipy to compute these > numbers? scipy.misc.comb() will handle the binomial coefficients. A ufunc or an implementation that would broadcast would be welcome, though. I don't think we have one for multinomial coefficients. > If n

[Numpy-discussion] binomial, multinomial coefficients

2007-09-14 Thread Charles R Harris
Does anyone know if there are routines in scipy to compute these numbers? If not, I could code some up if there is any interest. As a related question, are there routines for returning the probabilities (as opposed to random number generators) for the various distributions? Chuck _