Gauss Siedel
Routine Name: Gauss Siedel Solver
Author: Kyle Hovey
Language: C++
Description/Purpose:
Gauss Siedel is another matrix separation iterative technique (like Jacobi) that iterates the following until a stable point is found:
\[\vec{x}^{(k+1)} = L^{-1} (\vec{b} - U\vec{x}^{(k)})\]
Where \(L, U\) represent the lower-triangular and strictly upper-triangular elements of \(A\) in the system \(A\vec{x} = \vec{b}\).
Input:
A matrix \(A\) and result of a linear system as a column vector \(\vec{b}\).
Output:
A column vector that represents the solution to the linear system.
Usage/Example:
Output:
Implementation/Code: