Should numpy.sqrt(-1) return 1j rather than nan?
David Goldsmith
David.L.Goldsmith at noaa.gov
Thu Oct 12 21:34:09 EDT 2006
I find that acceptable for my purposes, but is there some way we can
minimize the "surprise(s)" for newbies? (I know some suggestions have
been put forward in this thread, but I don't know enough to cast a vote
one way or another for any of those, just a vote for "please do it".)
And, in closing, I too would like to: thank you very much for all your
work - despite my "emotional outburst," I am generally very happy using
numpy and regard it as an excellent product.
DG
Travis Oliphant wrote:
> David Goldsmith wrote:
>
>
>> Got it. And if I understand correctly, the import order you specify in
>> the little mynumpy example you included in your latest response to
>> Fernando will result in any "overlap" between numpy and
>> numpy.lib.scimath to call the latter's version of things rather than the
>> former's, yes?
>>
>>
>>
>
> Right. The last import will be used for any common-names (variables get
> re-bound to the new functions...)
>
> -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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
-------------------------------------------------------------------------
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
More information about the NumPy-Discussion
mailing list