[SciPy-user] NumPy vs. SciPy and other speed comparisons

Johann Cohen-Tanugi cohen@slac.stanford....
Wed Jun 11 04:50:07 CDT 2008


heuh... oui, c'est exactement mon point.
JCT

Fabrice Silva wrote:
> Python 2.5.2 (r252:60911, May 28 2008, 08:35:32) 
> [GCC 4.2.4 (Debian 4.2.4-1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>   
>>>> import numpy as np
>>>> np.sqrt(-1.)
>>>>         
> nan
>   
>>>> np.sqrt(-1.+0.j)
>>>>         
> 1j
>   
>>>> np.__version__
>>>>         
> '1.1.0'
>
>   


More information about the SciPy-user mailing list