solve


solve, a Fortran77 code which solves a linear system of equations A*x=b using Gauss elimination.

There are many automatic ways to solve linear systems, as in MATLAB, and sophisticated packages such as LAPACK. However, this simpler set of routines may have some uses for students, beginners and those who need a quick and simple solver that can be replaced later if it turns out to be inadequate.

This library is useful because:

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

solve is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

solve_test

linpack, a Fortran77 library which solves linear systems for a variety of matrix storage schemes, real or complex arithmetic, and single or double precision. It includes a routine for computing the singular value decomposition (SVD) of a rectangular matrix. The original version of this library is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.

qr_solve, a Fortran77 library which computes the linear least squares (LLS) solution of a rectangular linear system A*x=b.

R8LIB, a Fortran77 library which contains many utility routines using double precision real (R8) arithmetic.

Source Code:


Last revised on 20 December 2023.