[Numpy-discussion] zeros() default type in Numeric3

Stephen Walton stephen.walton at csun.edu
Sat Mar 26 12:25:53 EST 2005


zeros() in Numeric3 defaults to typecode='d' while in numarray it 
defaults to typecode=None, which in practice means 'i' by default.  Is 
this deliberate? Is this desirable?  I'd vote for zeros(), ones() and 
the like to default to 'i' or 'f' rather than 'd' in the interest of 
space and speed.





More information about the NumPy-Discussion mailing list