> AFAIK, there is no function like sprandn Thanks Nils. Could anyone suggest a hint of how to get a random sparse matrix without reinventing the wheel (using numpy/scipy functions whenever possible). Is there any reason why 'sprandn' does not exist? (I mean, perhaps there is a more general method to do that, I don't know). Thanks again