NonlinearCurve.GetInitialFitParameters Method

Returns a vector containing initial values for the parameters for a curve fit through on the specified data.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
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

ArgumentNullExceptionxValues is null.

-or-

yValues is null.

DimensionMismatchExceptionxValues and yValues do not have the same length.

See Also