Hello,
I am trying to use:
#include <gsl/gsl_multifit_nlin.h>
But this simple exmpale just this makes it fails:
int main () {
const gsl_multifit_fsolver_type *T_ ;
gsl_multifit_fsolver *s_ ;
// T_ = (gsl_multifit_fsolver_type*) malloc (300 * sizeof
(gsl_multifit_fsolver_type)) ;
s_ = gsl_multifit_fsolver_alloc (T_, 1, 1);
}
It seem that it is an issue with the allocation of the gsl_multifit_fsolver_type
I cannot find any example.
Things works better with gsl_multifit_fdfsolver_type
but this requires to setup the derivatives that I cannot do it because
my function is a complex.
Do you know who could provide me some help?
Thank for your help.
===========================================================================
Patrick DUPRÉ | | email: address@hidden
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================