jacobi, a FORTRAN90 code which uses the Jacobi iteration to solve a linear system with a symmetric positive definite (SPD) matrix.


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


jacobi is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version and an R version.

Related Data and Programs:

cg_rc, a FORTRAN90 code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).


MGMRES, a FORTRAN90 code which applies the restarted Generalized Minimum Residual (GMRES) algorithm to solve a sparse linear system, by Lili Ju.

SPARSEKIT, a FORTRAN90 code which implements operations on sparse matrices, including conversion between various formats, by Yousef Saad.

TEMPLATES, a FORTRAN90 code which carries out simple versions of various iterative solvers.

TEST_MAT, a FORTRAN90 code which defines test matrices.


Source Code:

Last revised on 20 July 2020.