LorentzCurve.GetInitialFitParameters 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.0
C#
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

ArgumentNullException

xValues is null.

-or-

yValues is null.

DimensionMismatchException

xValues and yValues do not have the same length.

See Also