Sets the weights for the least-squares fit in the x-direction.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual void SetXWeights(
	double[] xWeights
)
Visual Basic (Declaration)
Public Overridable Sub SetXWeights ( _
	xWeights As Double() _
)
Visual C++
public:
virtual void SetXWeights(
	array<double>^ xWeights
)

Parameters

xWeights
Type: array< System..::.Double >[]()[]
A double array of size xData.Length specifying the weights for the least-squares fit in the x-direction.

Default: All weights are equal to 1.

See Also