Is there a way to pass a python function ptr to a c++ method from a python script?

liam_herron liam_herron at hotmail.com
Mon Jun 5 21:04:46 EDT 2006


I have a core c++ library that is exposed to python through the
boost_python framework.
I would like to write the core of a Newton's method solver in C++ and
be able to write the
functions that are evaluated to be in python.   Does anyone have any
ideas on this?




More information about the Python-list mailing list