compressed_solve, a Python code which handles an underdetermined linear system A*x=b, using a version of the QR factorization, and seeking a solution which has the fewest possible nonzero entries. This procedure is useful in the field of compressed sensing.
The information on this web page is distributed under the MIT license.
compressed_solve is available in a MATLAB version and an Octave version and a Python version.
llsq, a Python code which solves the simple linear least squares (LLS) problem of finding the formula of a straight line y=a*x+b which minimizes the root-mean-square error to a set of N data points.
qr_solve, a Python code which computes the linear least squares (LLS) solution of a rectangular linear system A*x=b, using the QR factorization.
test_lls, a Python code which implements linear least squares (LLS) test problems of the form A*x=b.