From: Keith G. <kwg...@gm...> - 2006-06-30 17:03:52
|
On 6/30/06, Robert Kern <rob...@gm...> wrote: > Tim Hochberg wrote: > > Regarding choice of float or int for default: > > > > The number one priority for numpy should be to unify the three disparate > > Python numeric packages. Whatever choice of defaults facilitates that is > > what I support. > > +10 > > > Personally, given no other constraints, I would probably just get rid of > > the defaults all together and make the user choose. > > My preferred solution is to add class methods to the scalar types rather than > screw up compatibility. > > In [1]: float64.ones(10) I don't think an int will be able to hold the number of votes for float64. |