Package dev.nm.analysis.curvefit
Interface CurveFitting
-
- All Known Subinterfaces:
Interpolation
- All Known Implementing Classes:
CubicHermite,CubicSpline,LeastSquares,LinearInterpolation,NewtonPolynomial
public interface CurveFittingCurve fitting is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints. Curve fitting can involve either interpolation, where an exact fit to the data is required, or smoothing, in which a "smooth" function is constructed that approximately fits the data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnivariateRealFunctionfit(OrderedPairs f)Fit a real valued function from a discrete set of data points.
-
-
-
Method Detail
-
fit
UnivariateRealFunction fit(OrderedPairs f)
Fit a real valued function from a discrete set of data points.- Parameters:
f- a discrete set of data points- Returns:
- the fitted function
-
-