An official website of the United States government
Here's how you know
Official websites use .gov
A
.gov website belongs to an official
government organization in the United States.
Secure .gov websites use HTTPS
A lock (
) or https:// means you've safely
connected to the .gov website. Share sensitive
information only on official, secure websites.
Let l = 0. Compute residue r0 = b − Ax0 and set ν1 = r0/||r0||.
Let l = l + 1.
Use the Arnoldi iteration to construct vector νl+1 that is orthogonal to νk, k = 0, …, l.
Minimize the residue along the new vector νl+1 and update xl.
Calculate the norm of residues ||rl||. If ||rl||/||b|| is less than a predefined convergence threshold δ, output xl as the solution. Otherwise go to step 2.