from scipy.integrate import quad quad(lambda e:e,1,5) [/code] or [code] import numpy import scipy import scipy.interpolate x = numpy.arange(10,dtype='float32') * 0.3 y = numpy.cos(x) sp = scipy.interpolate.UnivariateSpline(x,y) [/code]
hi, all I am using an old AMD Duron CPU with Win2k, which seems does not support SSE/SSE2 When I write [code]] python 2.4/python 2.5 (which are all from www.python.org) crash soon. I searched the internet, and found the reason may be SSE/SSE2 instructions in ATLAS, but I am not sure. I found that there are 3 verisons in numpy-1.2.1-win32-superpack-python2.5.exe(numpy-1.2.1-sse3.exe, numpy-1.2.1-sse2.exe and numpy-1.2.1-nosse.exe) Is there a precompiled scipy that judges nosse/sse/sse2 automatically? or is there a way to change ATLAS only according to my CPU? thanx
On Thu, Nov 13, 2008 at 12:16 PM, oyster <lepto.python@gmail.com> wrote:
hi, all I am using an old AMD Duron CPU with Win2k, which seems does not support SSE/SSE2
indeed, old Duron does not support SSE IIRC.
I found that there are 3 verisons in numpy-1.2.1-win32-superpack-python2.5.exe(numpy-1.2.1-sse3.exe, numpy-1.2.1-sse2.exe and numpy-1.2.1-nosse.exe)
Yep, the superpack is just a simple wrapper around the correct installer, nothing fancy.
Is there a precompiled scipy that judges nosse/sse/sse2 automatically?
No, but there will be for 0.7, which hopfully is only days away now.
or is there a way to change ATLAS only according to my CPU?
Unfortunately not without rebuilding scipy yourself. Win32 binaries are built by linking atlas statically. David
participants (2)
-
David Cournapeau
-
oyster