[Numpy-discussion] Rookie problems - Why is C-code much faster?

Christopher Barker Chris.Barker at noaa.gov
Tue Feb 21 16:47:01 CST 2006


>        r2 = (dx*dx + dy*dy)

Might numpy.hypot() help here?

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the Numpy-discussion mailing list