To solve an equality-constrained linear least squares problem. Given an over-determined system of linear equations in unknowns,
it calculates the solution vector which satisﬁes the ﬁrst equations () and minimizes the sum of squares of residuals
The matrix must have rank , that is its columns must be linearly independent. Also the ﬁrst rows of must be linearly independent.
There is a re-entry facility which allows further systems having the same left-hand sides to be solved economically.
There is an entry to obtain solution standard deviations and the variance-covariance matrix. These are calculated on the assumption that the ﬁrst equations are exact and that the remaining equations have errors which are independent random variables with the same variance.
The automatic printing of results and the calculation of equation residuals are options.
The subroutine can be used to solve the general linear least squares data ﬁtting problem with or without equality side conditions.