Returns the solution to the least-squares problem Ax = b using an input tolerance.
double array to be manipulated. double scalar value used in determining the rank of A. 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