Hi,
I found this example: http://net.pku.edu.cn/~webg/src/paradise/thirdparty/installed/include/boost-1_35/boost/math/tools/minima.hpp which works fine but I have trouble figuring out how to adapt this if the function to minimize is a member function of a class (and invoked in another member function).
Any example of how to call brent_find_minima (or similar functions) from a member function and minimizing a member function would be very welcome. I have to the advice to wrap the function to be minimized into a static wrapper function but could not find an example how to do this from within a member function (I have it working when calling from main).
Thanks.
Markus