Pluto notebook: pluto/julia, html, pdf,
Pluto notebook: pluto/julia, html, pdf,
Here is some literature on the topic.
M. Gutknecht A Brief Introduction to Krylov Space Methods for Solving Linear Systems
J. Shewchuk Introduction to the Conjugate Gradient Method Without the Agonizing Pain
E.Carson, J.Liesen, Z. Strakoš: 70 years of Krylov subspace methods: The journey continues
R. S. Varga: Matrix Iterative Analysis