>>>>> On Tue, 15 Mar 2005 14:38:05 -0000 (GMT), "Phil Thompson" <[EMAIL 
>>>>> PROTECTED]> said:


> ...and it's virtual. I've eventually got it - I'm so used to
> thinking about extending Python with C++ that I hadn't appreciated
> properly that you are extending C++ with Python.

Yes, it works both ways.  In my environment, C++ does most of the work
that is standard.  In this case, C++ provides standard functions that
can be used for fitting to data like gaussian, quadratic, power-law,
etc, all derived from FunctionBase.  But the user sometimes needs a
custom function in which case he writes in Python.   As you say,
extending the C++ in Python.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to