On Tue, Feb 05, 2008 at 11:48:37AM +0100, Sebastian Haase wrote: > Thanks fr the reply. > How about "manual" overloading. I mean, if -- for example -- I have > two functions mmms_b and mmms_i in C, I could still use ctypes; could > I then "merge" them into one python function, which "re-routes" > depending on the argument dtype !?
Yes, that's exactly what I do (except I rarely use C++, so I reroute to different C functions). It doesn't scale well, but it's OK if you have only a few functions to worry about. Gaƫl _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion