Every computer simulation — weather forecast, crash test, fluid dynamics — eventually reduces to solving a linear system . When the matrix has a million rows, a straightforward Gaussian-elimination approach would need arithmetic operations. That is roughly one million years on today's fastest chip.
GMRES (Generalized Minimal RESidual), introduced by Yousef Saad and Martin Schultz in 1986, sidesteps this wall. Instead of factoring it builds, step by step, a small Krylov subspace
where is the initial residual. At each iteration it finds the vector inside that subspace that minimises — the residual norm. In many practical problems only a few hundred iterations are needed, even when is in the millions.
The key insight: you never need to store or factor . You only need to multiply by a vector — a single sparse operation that costs when has non-zeros. That transforms an astronomically hard direct problem into something a laptop can track.
Comments
Loading comments...