Jacobi iteration for a three-variable tridiagonal system
ID: jacobi-iteration-for-a-three-variable-tridiagonal-system
Consider the original linear system with a symmetric matrix that is also a tridiagonal matrix:Here and the Jacobi method readsStarting from , the first three vectors areEvery right-hand side uses superscript , including the middle row, even when a new first coordinate has already been computed.
Simultaneous old-to-new component updates in the Jacobi method, compared with immediate reuse in the Gauss-Seidel method
. Details. For comparison, a first Gauss-Seidel method sweep in coordinate order givesThe new first coordinate enters the middle update, and the new second coordinate enters the final update. Accidentally overwriting old coordinates during a Jacobi method sweep therefore changes the mathematical method.
New to topics? Read the docs here!
