Your company here — click to reach over 10,000 unique daily visitors

lmfit - Man Page

Levenberg-Marquardt least-squares minimization


lmfit is a C library for Levenberg-Marquardt least-squares minimization and curve fitting. It is mature code, based on decades-old algorithms from the FORTRAN library MINPACK.

For fitting a data set {(x_i,y_i)|i=0,1,..} by a parametric curve f(x,t), see lmcurve(3).

For generic minimization of the Eucledian norm of parametric vector, see lmmin2(3).

For the simpler legacy API without error estimates, see lmmin(3).

For an example how to use lmmin, see the source files lmcurve.h and lmcurve.c. Do not patch these files; copy and modify them to create your own, differently named version of lmcurve_data_struct, lmcurve_evaluate, and lmcurve.


Copyright (C):
  1980-1999 University of Chicago
  2004-2015 Joachim Wuttke, Forschungszentrum Juelich GmbH

Software: FreeBSD License

Documentation: Creative Commons Attribution Share Alike

See Also

lmcurve(3), lmmin(3), lmmin2(3)

Homepage: http://apps.jcns.fz-juelich.de/lmfit


Please send bug reports and suggestions to the author <j.wuttke@fz-juelich.de>.


2024-01-25 perl v5.38.2 lmfit manual