Christopher Barker wrote:
> Travis Oliphant wrote:
>
>   
>> Instead, I like better the idea of adding abs, round, max, and min to 
>> the "non-import-*" namespace of numpy.
>>     
>
> Another I'd like is the built-in data types. I always use:
>
> import numpy as N
>
> so then I do:
>
> a = zeros(shape, float)
> or
> a = zeros(shape, N.float_)
>
> but for non-built-in types, I can't do the former.
>
> The underscore is minor but why not just have:
>
> float = float
>
> in numpy.py?
>
> (and of course, the others)
>   

I think I prefer to just add the float, bool, object, unicode, str names 
to the "non-imported" numpy
name-space.

-Travis


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to