Set the diagonal scaling matrix for the variables.

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

Syntax

C#
public void SetXscale(
	double[] xscale
)
Visual Basic (Declaration)
Public Sub SetXscale ( _
	xscale As Double() _
)
Visual C++
public:
void SetXscale(
	array<double>^ xscale
)

Parameters

xscale
Type: array< System..::.Double >[]()[]
A double array specifying the diagonal scaling matrix for the variables. xscale is used in scaling the gradient and the distance between two points. See properties GradientTolerance and StepTolerance for more detail.

Remarks

By default, the identity is used.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown if any of the elements of xscale is less than or equal to 0

See Also