21.7 GMRES

Assume A is a real n × n matrix, b is an n × 1 vector, and we want to solve the system Ax = b. Assume that x0 is an initial guess for the solution, and r0 = bAx0 is the corresponding residual. The GMRES method looks for a solution of the form xm= x0 + Qmym, ymentitymwhere the columns of Qmare an n-dimensional orthogonal basis for the Krylov subspace Km(A, r0) = {r0, Ar0,…, Am−1r0}. The vector ymis chosen so the residual

rm2=bA(x0+Qmym)2=r0AQmym2

si175_e

has minimal norm over Km(A, r0). This is a least-squares problem. We must find ...

Get Numerical Linear Algebra with Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.