Carsten Fortmann <[EMAIL PROTECTED]> writes: > How can I pass a pointer to a member function to a gsl_function > struct?
You cannot. One solution is to use a static member function: ,---- | static int gradient(double t, const double y[], double f[], void *params); `---- Then pass your class along in params... Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
