help-gsl
[Top][All Lists]
Advanced

[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

Hello:

I tried to run Example programs for Nonlinear Least-Squares Fitting, 
http://www.gnu.org/software/gsl/manual/html_node/Example-programs-for-Nonlinear-Least_002dSquares-Fitting.html

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++ 4.9.9.2?

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:

http://www.gnu.org/software/gsl/manual/html_node/Minimization-Algorithms-using-Derivatives.html




reply via email to

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