[SciPy-user] Random sparse matrices

Robert Kern robert.kern at gmail.com
Fri Apr 25 16:48:56 EDT 2008


On Fri, Apr 25, 2008 at 3:41 PM, Anne Archibald
<peridot.faceted at gmail.com> wrote:
>  Strange. Works for me, even in a while loop, and with various values
>  of m,n, and nnz. Did numpy.random.random_integer change to including
>  the endpoint or something?

random_integers() always did include the endpoint. randint() does not.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the SciPy-User mailing list