324 B
324 B
Jacobi Iteration (cont.)
xk+1 = D-1(b - (L + U)x^k)
{ xk+1 = x^k + D^-1 r^k rk = b - Ax^k }
error: || xk+1 - x^k ||_2 residual: || r^k ||_2
Gauss-Seidel Iteration: A = (L + D + U) ⇒ Ax = b (D + U)x = b - Lx x = (D + U)^-1 (b - Lx)
xk+1 = (D+U)-1(b - Lx^k) (D + U)-1 x (bsubst)