|
From: Jeff W. <js...@fa...> - 2005-10-10 21:18:57
|
Travis Brady wrote: >All, > >Lately folks in my office have started inquiring about the possibility >of porting some Matlab code to Python. They're mostly concerned about >cost and scriptability, but they're worried that the resulting Python >code would be very slow. The current Matlab version of the prime >porting target takes about 2 hours to run start to finish. > >So I'm looking to either run some tests to prove that Python can keep up >or take someone else's results from similar tests and evangelize with >those. >I've googled "python vs. matlab" but most results seem to address >differences in the sort of code one has to write to achieve the same >ends, I'm interested in speed. > >Anyone have any links or ammunition for the fight? > >thanks, >Travis > > Travis: There was a thread on this on Numpy-discussion a while back. Here's an excerpt: http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/2396301 Bottom line is that if you link the atlas libs, Numeric or numarray is comparable to Matlab for linear algebra (matrix multiply and eigenvector computation). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 |