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 <[email protected]> To: [email protected] Cc: [email protected] Sent: Fri, May 1, 2009 7:35 am Subject: Re: Levenberg-Marquardt At Mon, 27 Apr 2009 03:50:55 -0400, [email protected] 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 _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
