NonlinearCurve.SetInitialValues Method

Note: This API is now obsolete.
Sets the curve parameters to initial values based on the specified data.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[ObsoleteAttribute("Use the GetInitialFitParameters method instead.")]
public virtual void SetInitialValues(
	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.

Exceptions

ArgumentNullExceptionxValues is null.

-or-

yValues is null.

DimensionMismatchExceptionxValues and yValues do not have the same length.

See Also