**jacobi_test**,
an Octave code which
calls jacobi(), 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, an Octave library which implements the Jacobi iteration for solving symmetric positive definite (SPD) systems of linear equations.

- jacobi_test.m, calls all the tests;
- jacobi_test.sh, runs all the tests;
- jacobi_test.txt, the output file.

- dif2_matrix.m, defines the -1, 2, -1 tridiagonal matrix.
- jacobi_test01.m, tests JACOBI1 on the -1,2,-1 matrix;
- jacobi_test02.m, tests JACOBI3 on a 3x3 version of the -1,2,-1 matrix.

- jacobi_residual.png a PNG image of the square of the norm of the residual (Ax-b).
- jacobi_evolution.png a PNG image of the evolution or trajectories of the solution values as the iteration proceeds.
- jacobi_motion.png a PNG image of the "motion" of the solution values, which is the averaged distance each entry moves during an iteration.