Returns the solution to the least-squares problem Ax = b.
double array to be manipulated. A double array containing the solution vector to Ax = b with components corresponding to the unused columns set to zero.
| Exception Type | Condition |
|---|---|
| SingularMatrixException | is thrown when the upper triangular matrix R resulting from the QR factorization is singular |
QR Class | Imsl.Math Namespace | QR.Solve Overload List