[Numpy-discussion] numpy.random.rand function doesn't take tuple

David Grant davidgrant at gmail.com
Mon Aug 21 14:55:15 EDT 2006


I was a bit surprised today to find that numpy.random.rand doesn't
take in a tuple as input for the dimensions of the desired array. I am
very used to using a tuple for zeros, ones. Also, wouldn't this mean
that it would not be possible to add other non-keyword arguments to
rand later?

-- 
David Grant
http://www.davidgrant.ca




More information about the NumPy-Discussion mailing list