Sets the curve parameters to initial values based on the specified data.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Overridable Sub SetInitialValues ( _
	xValues As Vector, _
	yValues As Vector _
)
C#
public virtual void SetInitialValues (
	Vector xValues,
	Vector yValues
)
C++
public:
virtual void SetInitialValues (
	Vector^ xValues, 
	Vector^ yValues
)

Parameters

xValues (Extreme.Mathematics.LinearAlgebra.Vector)
A Vector containing the X-values of the data points.
yValues (Extreme.Mathematics.LinearAlgebra.Vector)
A Vector containing the Y-values of the data points.

Exceptions

ExceptionCondition
ArgumentNullExceptionxValues is nullNothingnullptr.

-or-

yValues is nullNothingnullptr.

DimensionMismatchExceptionxValues and yValues do not have the same length.