On Tuesday 25 July 2006 15:09, Travis Oliphant wrote: > Sebastian Haase wrote: > >Hi, > >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 > random.poisson(arr) > > to do what you want. > > > > -Travis Great - thanks - you are awesome !! -Seb.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion