bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] gsl_multifit_fsolver


From: Patrick Dupre
Subject: [Bug-gsl] gsl_multifit_fsolver
Date: Wed, 3 Jun 2015 19:11:28 +0200

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
===========================================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]