Re: [Numpy-discussion] [SciPy-User] vectorized version of 'multinomial' sampling function

2009-10-13 Thread Robert Kern
On Tue, Oct 13, 2009 at 23:27, per freem wrote: > thanks for your reply. i am not sure how to do this though -- is the > vectorized version i would write in pyrex/cython simply going to > iterate through this vector of vectors and do the operation? will that > really be efficient? Yes because th

Re: [Numpy-discussion] [SciPy-User] vectorized version of 'multinomial' sampling function

2009-10-13 Thread per freem
On Tue, Oct 13, 2009 at 7:59 PM, David Warde-Farley wrote: > On 13-Oct-09, at 5:01 PM, per freem wrote: > >> hi all, >> >> i have a series of probability vector that i'd like to feed into >> multinomial to get an array of vector outcomes back. for example, >> given: >> >> p = array([[ 0.9 ,  0.05,

Re: [Numpy-discussion] October 16 Scientific Computing with Python Webinar: Traits

2009-10-13 Thread Dave Peterson
Virgil Stokes wrote: Amenity Applewhite wrote: Having trouble viewing this email? Click here