David Grant wrote:
> 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?

Don't use rand(), then. Use random(). rand()'s sole purpose in life is to *not* 
take a tuple. If you like, you can read the archives on the several (long) 
discussions on this and why things are the way they are now. We finally 
achieved 
something resembling consensus, so please let's not resurrect this argument.

-- 
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to