I
Ian Malone
I've got a simple integration routine:
double integrate(double start, double end, double function(double));
Which integrates 'function' from start to end. I'm about to write
a (even more simplistic, since it takes independent limits)
2D version:
double integrate2d(double start[2], double end[2], double
function(double,double));
What I want to do is get it to call something like
integrate(start[0],end[0], aux_function), where
aux_function is the result of integrate on
function(double,double) with one coordinate fixed.
Is this possible in C?
double integrate(double start, double end, double function(double));
Which integrates 'function' from start to end. I'm about to write
a (even more simplistic, since it takes independent limits)
2D version:
double integrate2d(double start[2], double end[2], double
function(double,double));
What I want to do is get it to call something like
integrate(start[0],end[0], aux_function), where
aux_function is the result of integrate on
function(double,double) with one coordinate fixed.
Is this possible in C?