[Top][All Lists]

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

[Help-gsl] GNU Reference Manual 37.9 Examples

From: bmacox
Subject: [Help-gsl] GNU Reference Manual 37.9 Examples
Date: Sun, 19 Jul 2009 10:20:30 -0400


I tried to run Example programs for Nonlinear Least-Squares Fitting,

I copied the expfit.c on the top of the page and the main program into a 
main.cpp.? But when I compiled the current file in Dev C++, I got various 
errors, such as

97 C:\Dev-Cpp\main.cpp expected `,' or `...' before '*' token 

for the line
expb_f (const gsl_vector * x, void *data, gsl_vector * f)

How do we get the example to run properly in Dev C++

Thx very much!!
-----Original Message-----
From: Brian Gough <address@hidden>
To: address@hidden
Cc: address@hidden
Sent: Fri, May 1, 2009 7:35 am
Subject: Re: Levenberg-Marquardt

At Mon, 27 Apr 2009 03:50:55 -0400,
address@hidden wrote:
> I need to do Levenberg-Marquardt.? I have the Visual Studio c++
> version for this routine.? However, I would like to run this routine
> in Dev C++.? Does GNU have this routine available in its library?

The LM implementation in GSL is described here:

reply via email to

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