[Numpy-discussion] rand argument question

Robert Kern robert.kern at gmail.com
Fri Jun 2 14:56:46 CDT 2006

Alan G Isaac wrote:
> On Fri, 02 Jun 2006, Robert Kern apparently wrote: 
>>Changing the API of rand() and randn() doesn't solve any 
>>problem. Removing them might. 
> I think this is too blunt an argument.  For example,
> use of the old interface might issue a deprecation warning.
> This would make it very likely that all new code use the new 
> interface.

My point is that there is no need to change rand() and randn() to the "new"
interface. The "new" interface is already there: random.random() and

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 Numpy-discussion mailing list