[Numpy-discussion] Cutting 1.0.2 release
Alan G Isaac
aisaac at american.edu
Tue Jan 30 11:04:44 EST 2007
On Tue, 30 Jan 2007, Gary Ruben apparently wrote:
> One question, which may be an issue: Should ones, zeros
> and empty be generating arrays of floats by default now?
>>> import numpy as n
>>> z = n.zeros((2,2))
>>> z.dtype
dtype('float64')
>>> o = n.ones((2,2))
>>> o.dtype
dtype('float64')
>>> e = n.empty((2,2))
>>> e.dtype
dtype('float64')
>>> n.__version__
'1.0'
hth,
Alan Isaac
More information about the NumPy-Discussion
mailing list