IMSL C# Numerical Library

NonlinLeastSquares.SetXscale Method 

Set the diagonal scaling matrix for the variables.

public void SetXscale(
   double[] xscale
);

Parameters

xscale
A double array specifying the diagonal scaling matrix for the variables.

Remarks

By default, the identity is used.

Exceptions

Exception Type Condition
ArgumentException is thrown if any of the elements of xscale is less than or equal to 0

See Also

NonlinLeastSquares Class | Imsl.Math Namespace