[SciPy-user] Multiple versions of functions ?

Travis Oliphant oliphant at ee.byu.edu
Mon Nov 21 12:00:35 CST 2005


Gary wrote:

>Just starting to explore new scipy core.
>
>I'm seeing different versions of the same function.  I've seen this 
>before, but I never bothered about it given that I had Numeric, and then 
>scipy duplicating some of the functionality of Numeric.  But now I'm 
>wondering what's up.
>
>example1:
>scipy.exp and scipy.special.exp appear to be different.  At least their 
>representations and doc strings are.  No big deal, but why two versions?
>
>  
>
These are the same on my system.

 >>> id(scipy.exp)
136079568
 >>> id(scipy.special.exp)
136079568

>example2:
>scipy.ifft  returns a ndarray but
>scipy.fftpack.ifft  returns an old fashioned Numeric array (if I'm not 
>mistaken).
>  
>
These are also the same on my system.

 >>> id(scipy.ifft)
1129116820
 >>> id(scipy.fftpack.ifft)
1129116820

Perhaps you may have an installation issue.

-Travis




More information about the SciPy-user mailing list