[Numpy-discussion] Time for beta1 of NumPy 1.0

Christopher Barker Chris.Barker at noaa.gov
Fri Jun 30 15:23:57 EDT 2006

Robert Kern wrote:
> Whatever else you do, leave arange() alone. It should never have accepted floats 
> in the first place.

Just to make sure we're clear: Because one should use linspace() for that?

If so, this would be the time to raise an error (or at least a 
deprecation warning) when arange() is called with Floats.

I have a LOT of code that does that! In fact, I posted a question here 
recently and got a lot of answers and suggested code, and not one person 
suggested that I shouldn't use arange() with floats.

Did Numeric have linspace() It doesn't look like it to me.


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the NumPy-Discussion mailing list