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

Travis Oliphant oliphant at
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...)


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

More information about the Numpy-discussion mailing list