Jacobi Method - Algorithm

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
end (j-loop)
end (i-loop)
check if convergence is reached
loop (while convergence condition not reached)

Read more about this topic:  Jacobi Method