LLSQ
Linear Least Squares (LLS) Solution of Y = A*X+B


LLSQ is a Python library which solves the linear least squares 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.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

LLSQ is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

TEST_LLS, a Python library which implements linear least squares (LLS) test problems of the form A*x=b.

Reference:

  1. David Kahaner, Cleve Moler, Steven Nash,
    Numerical Methods and Software,
    Prentice Hall, 1989,
    ISBN: 0-13-627258-4,
    LC: TA345.K34.

Source Code:

You can go up one level to the Python source codes.


Last revised on 29 August 2016.