## Package org.apache.commons.math.optimization.fitting

This package provides classes to perform curve fitting.

See:
Description

Interface Summary
ParametricRealFunction: An interface representing a real function that depends on one independent variable plus some extra parameters.

Class Summary
CurveFitter: Fitter for parametric univariate real functions y = f(x).
HarmonicCoefficientsGuesser: This class guesses harmonic coefficients from a sample.
HarmonicFitter: This class implements a curve fitting specialized for sinusoids.
HarmonicFitter.ParametricHarmonicFunction: Parametric harmonic function.
HarmonicFunction: Harmonic function of the form `f (t) = a cos (ω t + φ)`.
PolynomialFitter: This class implements a curve fitting specialized for polynomials.
PolynomialFitter.ParametricPolynomial: Dedicated parametric polynomial class.
WeightedObservedPoint: This class is a simple container for weighted observed point in `curve fitting`.

## Package org.apache.commons.math.optimization.fitting Description

This package provides classes to perform curve fitting.

Curve fitting is a special case of a least squares problem were the parameters are the coefficients of a function `f` whose graph `y=f(x)` should pass through sample points, and were the objective function is the squared sum of residuals `f(xi)-yi` for observed points (xi, yi).

Copyright (c) 2003-2011 Apache Software Foundation