Algorithm
- Choose an initial guess to the solution
- check if convergence is reached
- while convergence not reached do
- for i := 1 step until n do
- for j := 1 step until n do
- if j ≠ i then
- end if
- if j ≠ i then
- end (j-loop)
- end (i-loop)
- check if convergence is reached
- for i := 1 step until n do
- loop (while convergence condition not reached)
Read more about this topic: Jacobi Method