The scaling array for theta.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual double[] Scale { set; } |
Visual Basic (Declaration) |
---|
Public Overridable WriteOnly Property Scale As Double() |
Visual C++ |
---|
public: virtual property array<double>^ Scale { void set (array<double>^ value); } |
Field Value
A double array containing the scaling values for the parameters (theta).
Remarks
The elements of the scaling array must be greater than zero. Scale is used mainly in scaling the gradient and the distance between points. If good starting values of theta are known and are nonzero, then a good choice is Scale[i]=1.0/theta[i]. Otherwise, if theta is known to be in the interval (-10.e5, 10.e5), set Scale[i]=10.e-5. By default, the elements of the scaling array are set to 1.0.
By default, Scale is an array of ones.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | is thrown thrown if any of the elements of Scale is set less than or equal to 0 |