[SciPy-dev] ***[Possible UCE]*** Re: Now new svn of numpy is ready

Travis Oliphant oliphant.travis at ieee.org
Thu Jan 5 00:33:04 CST 2006


Fernando Perez wrote:

>Fernando Perez wrote:
>
>  
>
>>This is a sign that numpy is pulling in dependencies from scipy, since the 
>>_presence_ of scipy is causing differences in the behavior of numpy.
>>
>>I'll keep digging...
>>    
>>
>
>The culprits:
>
>
>numpy/dft/__init__.py:    import scipy.fftpack
>numpy/dft/__init__.py:    fft = scipy.fftpack.fft
>numpy/dft/__init__.py:    ifft = scipy.fftpack.ifft
>numpy/dft/__init__.py:    fftn = scipy.fftpack.fftn
>numpy/dft/__init__.py:    ifftn = scipy.fftpack.ifftn
>numpy/dft/__init__.py:    fft2 = scipy.fftpack.fft2
>numpy/dft/__init__.py:    ifft2 = scipy.fftpack.ifft2
>numpy/linalg/__init__.py:# re-define duplicated functions if full scipy installed.
>numpy/linalg/__init__.py:    import scipy.linalg
>numpy/linalg/__init__.py:    inv = scipy.linalg.inv
>numpy/linalg/__init__.py:    svd = scipy.linalg.svd
>numpy/linalg/__init__.py:    solve = scipy.linalg.solve
>numpy/linalg/__init__.py:    det = scipy.linalg.det
>numpy/linalg/__init__.py:    eig = scipy.linalg.eig
>numpy/linalg/__init__.py:    eigvals = scipy.linalg.eigvals
>numpy/linalg/__init__.py:    lstsq = scipy.linalg.lstsq
>numpy/linalg/__init__.py:    pinv = scipy.linalg.pinv
>numpy/linalg/__init__.py:    cholesky = scipy.linalg.cholesky
>  
>
But these need to be there.  We need some way to update the functions in 
numpy if scipy is installed (so that you  can always call the numpy 
functions but get the scipy functions if they are there)...

-Travis





More information about the Scipy-dev mailing list