[SciPy-user] choose at random all elements in a array...

fred fredmfp@gmail....
Sat Aug 4 07:13:22 CDT 2007


Emanuele Zattin a écrit :
> mmm... what about something like:
>
> random.shuffle(A.ravel())
>   
And now, I want 200 000 random values
between 0 & 249999, once and only once ?

TIA.

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list