Re: [Help-gsl] fitting example

2006-07-20 Thread Brian Gough
At Tue, 18 Jul 2006 20:48:39 +0200 (CEST), Petr Ent wrote: i understand it that you should compute the value of your function to be fitted with current results (x vector) and store it to vector f. but in this example, you do that + substract real value (y_i) from it and divide it by

[Help-gsl] fitting example

2006-07-18 Thread Petr Ent
hi, i have next (hopefully last :-) ) question about non-linear fitting example. function int expb_f (const gsl_vector * x, void *data, gsl_vector * f) this function should store the vector result f(x,params) in f for argument x and arbitrary parameters params i understand it that you