/* optm3.h */ void optm3(double *xf, double *yf, double *zf, /* initial and returned optimum */ double *v, /* returned value */ int *cnt, int maxcnt, /* number of evaluations */ double vtol, /* get v to this tolerance */ double *step, double xyztol, /* start and minimum xyz step size */ double xmin, double xmax, /* range for x */ double ymin, double ymax, /* range for y */ double zmin, double zmax, /* range for z */ double (*f)(double x, double y, double z) ); /* function to be evaluated */