[SciPy-user] Random sparse matrices

Mico Filós elmico.filos at gmail.com
Tue Apr 22 14:32:21 EDT 2008


Well, that's not exactly what I want. Randomness is not only in the
values of the non-empty elements, but also in the position (i,j) of
these non-empty elements. The idea is to draw randomly a fraction of
the M*N possible elements in the matrix (M and N are the number of
rows and columns), and assign to each of these elements a normal
random number.



More information about the SciPy-User mailing list