Like the Lanczos process, the convergence of CG is well understood.
The convergence is very fast and, to some extent, “optimal.” We can prove that:
where is the condition number of .
The number of iterations is:
The matrix sizes in this benchmark are equal to 512. Below are the condition numbers for each test case.
Condition Number | |
---|---|
well-conditioned | 101 |
3D Laplacian | 33k |
2D Laplacian | 54k |