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

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


Emanuele Zattin a écrit :
> mmm... what about something like:
>
> random.shuffle(A.ravel())
>   

Whaou, I ever did not think it could be so easy ;-))

Thanks a lot to all two.

Cheers,

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list