LINPACK_S
Linear Algebra Library
Single Precision Real


LINPACK_S is a library of MATLAB routines, using single precision real arithmetic, which can solve systems of linear equations for a variety of matrix types and storage modes.

MATLAB already provides a wide set of linear equation solvers. This (partial) set of LINPACK routines is provided just for testing and comparison.

LINPACK has officially been superseded by the LAPACK library. The LAPACK library uses more modern algorithms and code structure. However, the LAPACK library can be extraordinarily complex; what is done in a single LINPACK routine may correspond to 10 or 20 utility routines in LAPACK. This is fine if you treat LAPACK as a black box. But if you wish to learn how the algorithm works, or to adapt it, or to convert the code to another language, this is a real drawback. This is one reason I still keep a copy of LINPACK around.

Versions of LINPACK in various arithmetic precisions are available through the NETLIB web site.

Related Data and Programs:

BLAS1 is a library of MATLAB routines for vector operations, used by LINPACK.

LAPACK is a FORTRAN90 library of routines which can solve linear systems of equations or problems involving eigenvalues.

LINPACK_C is a MATLAB library containing the LINPACK codes for single precision complex arithmetic.

LINPACK_D is a MATLAB library containing the LINPACK codes for double precision real arithmetic.

LINPACK_S is also available in a C++ version and a FORTRAN77 version and a FORTRAN90 version.

LINPACK_Z is a version of LINPACK for double precision complex arithmetic.

LINPLUS is a library of MATLAB routines similar to LINPACK but covering some other storage formats.

TEMPLATES is a library of MATLAB routines that implement various iterative methods for solving a linear system.

TEST_MAT is a FORTRAN90 collection of test matrices with known inverses, determinants, eigenvalues and so on.

Reference:

  1. Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart,
    LINPACK User's Guide,
    SIAM, 1979,
    ISBN13: 978-0-898711-72-1,
    LC: QA214.L56.
  2. Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh,
    Algorithm 539, Basic Linear Algebra Subprograms for Fortran Usage,
    ACM Transactions on Mathematical Software,
    Volume 5, Number 3, September 1979, pages 308-323.

Tar File:

A GZIP'ed TAR file of the contents of this directory is available. This is only done as a convenience for users who want ALL the files, and don't want to download them individually. This is not a convenience for me, so don't be surprised if the tar file is somewhat out of date.

Source Code:

Utilities and BLAS1 routines:

Examples and Tests:

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


Last revised on 09 November 2006.