Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Library for solving nonlinear equations and nonlinear least squares problems
tree: 56b802fed4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cmake
ex
examples
src
CMakeLists.txt
LICENSE
README.rst

README.rst

Minpack

Information

This repository contains the original double precision Minpack from netlib.org, together with CMake makefiles and examples.

About Minpack

Minpack includes software for solving nonlinear equations and nonlinear least squares problems. Five algorithmic paths each include a core subroutine and an easy-to-use driver. The algorithms proceed either from an analytic specification of the Jacobian matrix or directly from the problem functions. The paths include facilities for systems of equations with a banded Jacobian matrix, for least squares problems with a large amount of data, and for checking the consistency of the Jacobian matrix with the functions.

Jorge More', Burt Garbow, and Ken Hillstrom at Argonne National Laboratory.

Documentation

Minpack contains 4 subroutines for solution of systems of nonlinear equations:

  • hybrd, hybrd1: Jacobian matrix is calculated by a forward difference approximation
  • hybrj, hybrj1: Jacobian matrix is provided by the user

and 6 subroutines for nonlinear least squares problems:

  • lmdif, lmdif1: Jacobian matrix is calculated by a forward difference approximation
  • lmder, lmder1: Jacobian matrix is provided by the user
  • lmstr, lmstr1: Jacobian matrix is provided by the user, one row per call (uses less memory)

The routines without 1 in the name expose all parameters to the user (core subroutines), routines with 1 only expose the essential parameters and set default values for the rest (easy-to-use driver). Finally:

  • chkder: checks the consistency of the Jacobian matrix with the functions

Detailed documentation for all these routines together with an example is given in the file ex/file06 (for double precision). Ready to use examples of usage are in the examples directory.

Other files in the ex directory are original examples of usage of various routines (single and double precision), but are not compiled by default.

Something went wrong with that request. Please try again.