Sine Curve.Get Initial Fit Parameters Method
Returns a vector containing initial values for the parameters for a curve fit
through on the specified data.
Definition
Namespace: Numerics.NET.Curves.Nonlinear
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override Vector<double> GetInitialFitParameters(
Vector<double> xValues,
Vector<double> yValues
)
Parameters
- xValues Vector<Double>
- A vector containing the X-values of the data points.
- yValues Vector<Double>
- A vector containing the Y-values of the data points.
Return Value
Vector<Double>Exceptions
Argument | xValues is null. -or- yValues is null. |
Dimension | xValues and yValues do not have the same length. |