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

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

Syntax

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

Parameters

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

Default: All weights are equal to 1.

See Also