Creating function pointers in C with arguments
So I need to write some code that performs partial integration. I have a numerical integrator schematically represented by double integrate(double (*func)(double)); and suppose it works properly, i.e. for a function double f(double x), integrate(f) gives the right result. What I have instead, however, are functions that look like double f(double x, double y); and… Read More Creating function pointers in C with arguments