solve


solve, a Fortran90 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 information on this web page is 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

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

r8lib, a Fortran90 code which contains many utility routines using double precision real (R8) arithmetic.

Source Code:


Last revised on 04 September 2021.