[EMAIL PROTECTED] wrote: >Thanks guys. I'm still waiting for a response. > >Sorry if it was too simple for ya, > >edh > > > >ps this is not a peeing contest. I'm still learning how to do it - but smarter > > > >>>I'll be curious to see what someone more familiar with NumPy (I assume >>>David A. reads this list) >>> David A reads the list but only occasionally. =)
>>>comes up with for Python, but this is the sort >>>of work I'd be more include to do using Fortran or C++. In C++, on my >>>450MHz machine, with no compiler optimization options turned on: >>> >>I'd still like to know how the NumPy experts would approach this >>problem. David Ascher: did you ever get a chance to look at this >>poster's original question? Seems like just the sort of thing a >>numerical extension package for a progamming language would be at home >>with. >> I don't recall the original post, sorry -- the general answer with NumPy is that if it's something you can express as a set of array operations, then it'll be fast -- if it's something that is iterative (as I seem to recall the original problem was), then NumPy won't help. Instead, I'd look at something like weave (part of SciPy, see www.scipy.org) or pyrex (search google) for ways to inline the C/C++ code into Python. Cheers, --david ascher _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython