# Package org.apache.commons.math3.fitting.leastsquares

This package provides algorithms that minimize the residuals between observations and model values.

See: Description

## Package org.apache.commons.math3.fitting.leastsquares Description

This package provides algorithms that minimize the residuals between observations and model values. The non-linear least-squares optimizers minimize the distance (called cost or χ2) between model and observations.
Algorithms in this category need access to a model function (represented by a MultivariateVectorFunction). Such a model predicts a set of values which the algorithm tries to match with a set of given set of observed values.
The algorithms implemented in this package also require that the user specifies the Jacobian matrix of the model (represented by a MultivariateMatrixFunction).