Linear Systems
Gauss-Seidel Iteration
Solve a diagonally dominant linear system iteratively: update each unknown immediately using the most recent values within the same iteration. Example: 4x+y=9; x+4y=6; converges faster than Jacobi.
By using the updated x immediately, Gauss-Seidel typically converges faster than Jacobi iteration.
gauss-seidel
The Gauss-Seidel method uses newly computed values immediately: x_{k+1} = (b1 - a12·y_k) / a11 y_{k+1} = (b2 - a21·x_{k+1}) / a22