[Numpy-discussion] Time for beta1 of NumPy 1.0 (original) (raw)

Christopher Barker Chris.Barker at noaa.gov
Fri Jun 30 16:40:39 EDT 2006


Robert Kern wrote:

It's arange(0.0, 1.0, 0.1) that I think causes the most problems with arange and floats.

actually, much to my surprise:

import numpy as N N.arange(0.0, 1.0, 0.1) array([ 0. , 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])

But I'm sure there are other examples that don't work out.

-Chris

-- Christopher Barker, Ph.D. Oceanographer

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