Serves as the base class for classes that implement curve fitting algorithms.
SystemObject Extreme.Mathematics.CurvesCurveFitter Extreme.Mathematics.CurvesLinearCurveFitter Extreme.Mathematics.CurvesNonlinearCurveFitter
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public abstract class CurveFitter
Public MustInherit Class CurveFitter
public ref class CurveFitter abstract
type CurveFitter = class end
The CurveFitter type exposes the following members.
Constructs a new CurveFitter object.
Gets the curve parameters corresponding to the best fit.
Gets or sets the curve that is being fitted.
Gets or sets the initial value for the iteration.
Gets the residuals for the observations.
Gets or sets the vector used to scale the curve parameters.
Gets the standard error of the curve fit.
Gets or sets the weight function.
Gets or sets the weight vector.
Gets or sets the vector of x-values.
Gets or sets the vector of y-values.
Use the CurveFitter class to refer to classes
that implement curve fitting algorithms. This is an abstract class
and cannot be instantiated. Instead, use one of the derived classes:
LinearCurveFitter and NonlinearCurveFitter.
The curve is specified by the Curve property.
The data is supplied as Vector objects
through the XValues and YValues properties.
The Fit method performs the actual curve fit.
This method returns the Curve that best fits the supplied data.
By default, the observations are unweighted. You can supply a
weighting method in two ways. You can set the WeightFunction
property to a function of two variables delegate that computes the weight
for each observation. The WeightFunctions class provides predefined
delegates for the most common weight functions.
Alternatively, you can set the individual weights by setting the WeightVector
property to a Vector that contains the weight for each individual observation.
Supported in: 6.0, 5.x, 4.x