- nnz: number of non-zero entries in matrix .
- nnz is for sparse matrices.
Arnoldi
- Matrix-vector products: .
- per iteration.
- Vector operations: total cost.
Lanczos
- Matrix-vector products: .
- Vector operations: total cost.
- Lanczos is much more efficient!
Algorithm for the Arnoldi process, Algorithm for the Lanczos process