Nonlinear 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
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public virtual 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. |