[Numpy-discussion] arrayrange

Robert Kern robert.kern@gmail....
Wed Mar 14 12:31:57 CDT 2007

Miguel Oliveira, Jr. wrote:
> Hello,
> I've got a few codes that use "arrayrange" within numpy. It happens  
> that the new version of numpy apparently doesn't recognize  
> "arrayrange"... I've tried to change it to "arange", but it doesn't  
> work... So, for example, the code below used to create a sine wave  
> file, but it's not working anymore... Does anyone have any clue of  
> what may be a solution for this?

arange() is the appropriate replacement for arrayrange(); arrayrange() was just
an alias to arange(). What did you expect it to do that it isn't doing?

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