Curve Fitter.Fit Method
Calculates the least-squares fit.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
A reference to the Curve that best fits the data.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
public Curve Fit()
Return Value
CurveA reference to the Curve that best fits the data.
Exceptions
Invalid | The XValues have not been set. -or- The YValues have not been set. -or- The Curve has not been set. |
Dimension | |
Insufficient | The number of data points is less than the number of curve parameters. |