[Help-gsl] Re: Numerical Gradient?

2008-03-06 Thread Thad Harroun
I saw this implementation somewhere, I forget where, and use it a lot. I hope the person who thought this up is still reading the list. You have an array of parameters: parameter_array[n] I like to keep it in a my_struct which is passed as the void pointer by the GSL fdfminimizer solver into my_f

[Help-gsl] Re: once more fitting

2006-11-01 Thread Thad Harroun
From: Petr Ent<[EMAIL PROTECTED] Subject: [Help-gsl] fitting hi everyone, is it possible to do following thing with non-linear least squares fitting...? double x_init[3] = { 1.0, 0.0, 0.0 }; gsl_vector_view x = gsl_vector_view_array (x_init, p); T = gsl_multifit_fdfsolver_lmsder; s = gsl_multi