jacobi, a C++ code which sets up the Jacobi iteration for linear systems.


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 positive definite sparse linear system A*x=b, using reverse communication.

gauss_seidel, a C++ code which sets up the Gauss-Seidel iteration for linear systems.

jacobi_openmp, a C++ code which illustrates the use of the OpenMP application program interface to parallelize a Jacobi iteration solving A*x=b.

test_matrix, a C++ code which defines test matrices.


Source Code:

Last revised on 26 September 2022.