Should numpy.sqrt(-1) return 1j rather than nan?

Travis Oliphant oliphant at ee.byu.edu
Thu Oct 12 14:15:58 CDT 2006


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




More information about the Numpy-discussion mailing list