jacobi, a C code which sets up the Jacobi iteration for a symmetric positive definite (SPD) linear system.


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 an Octave version and a Python version and an R version.

Related Data and Programs:


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

gauss_seidel, a C code which applies the Gauss-Seidel iteration to solve a symmetric positive definite linear system.

test_matrix, a C code which defines test matrices.


Source Code:

Last revised on 09 July 2019.