On 7/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I need to pass additional parameters to the functions used by the N-L L-S fitting routines. The functions I want to fit may have 6 parameters but I want to vary only 3 during the fit.
This means that, as far as the GSL API is concerned, you want to fit a function with three parameters. Additional parameters can be passed via the void *params argument of the component f of the structure gsl_multifit_function. You may want to write one or more wrapper routines that take a vector of parameters plus a boolean vector indicating which parameters you want to vary as arguments and return an appropriate gsl_multifit_function. Regards, -- mj _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
