[Numpy-discussion] how to get an array with "varying" poisson distribution

Travis Oliphant oliphant at ee.byu.edu
Tue Jul 25 17:09:26 CDT 2006

Sebastian Haase wrote:

>Essentially I'm looking  for the equivalent of what was in numarray:
>    from numarray import random_array
>    random_array.poisson(arr)
I've just updated the mtrand library to allow this.  It will be in 1.0b2

So, if you have latest SVN you can do

from numpy import random

to do what you want.


More information about the Numpy-discussion mailing list