Solves the least squares problem and returns the regression coefficients.
A double array containing the regression coefficients.
| Exception Type | Condition |
|---|---|
| TooManyIterationsException | is thrown when the number of allowed iterations is exceeded |
| NegativeFreqException | is thrown when the specified frequency is negative |
| NegativeWeightException | is thrown when the weight is negative |
NonlinearRegression Class | Imsl.Stat Namespace