Hi all,
I've learned native C and I'm trying to write now in C++. I want to use a
simple routine from the "Numerical Recipes in C" for using a Newton-Raphson
Method within my c++ class. The Newton-Raphson function for finding roots is
called:
float rtsafe(void (*funcd)(float, float *, float *), float x1, float x2,
float xacc)
'funcd' is the pointer to an external function as common in C. But since I
want to use it with a member function of my class for computing its roots, I
think I can't do that, because member functions are adressed relative to my
class.
Could anyone please give me some hints what I have to do, so that I can use
an external function like this and give it member functions for computation.
(Please apologise my bad style talking about coding...)
Thanx a lot,
uli
--
For reply remove NOSPAM_ from email-adress