Constructor for BoundedLeastSquares.
BoundedLeastSquares.IFunction to be minimized. int scalar containing the number of functions. int scalar containing the number of variables. int scalar containing the types of bounds on the variable.
| boundType | Action |
|---|---|
| 0 | User will supply all the bounds. |
| 1 | All variables are nonnegative. |
| 2 | All variables are nonpositive. |
| 3 | User supplies only the bounds on first variable, all other variables will have the same bounds. |
double array containing the lower bounds on the variables. double array containing the upper bounds on the variables. | Exception Type | Condition |
|---|---|
| ArgumentException | is thrown if the dimensions of mFunctions, nVariables, boundType, lowerBound.length and upperBound.length are not consistent |
BoundedLeastSquares Class | Imsl.Math Namespace