NLA-lib Explorer

The Arnoldi process

Library · Source module

The Arnoldi process

The Arnoldi process in modified Gram–Schmidt form, as a total recursion on the sequence of computed vectors: step j forms \mathbf{A}\mathbf{q}_j, orthogonalises it against \mathbf{q}_0, \dots, \mathbf{q}_j one at a time (NLAlib.mgsSweep), records the coefficients h_{ij} and h_{j+1,j} = \|\mathbf{w}_j\|, and sets \mathbf{q}_{j+1} = \mathbf{w}_j/h_{j+1,j}. Breakdown is a value: with 0^{-1} = 0 the vector after h_{j+1,j} = 0 is zero, and so is every later vector and coefficient.

The realisation theorems say that for every \mathbf{A} the process computes the canonical basis arnoldiMatrix A b q and the rectangular Hessenberg matrix \mathbf{Q}_{q+1}^{\mathsf{H}}\mathbf{A}\mathbf{Q}_q, for every q and with no breakdown hypothesis, because past the grade both sides are zero. Breakdown happens exactly at the grade.

Main definitions

* NLAlib.arnoldiStep, NLAlib.arnoldiState: the recursion. * NLAlib.mgsArnoldiMatrix, NLAlib.mgsArnoldiHessenberg: what the implementation outputs.

Main results

* NLAlib.mgsArnoldiMatrix_eq_arnoldiMatrix: the process computes the canonical basis. * NLAlib.mgsArnoldiHessenberg_eq: it computes \underline{\mathbf{H}}_q. * NLAlib.isUpperHessenberg_mgsArnoldiHessenberg: the computed matrix is Hessenberg. * NLAlib.mul_mgsArnoldiMatrix: the computed Arnoldi relation. * NLAlib.mgsArnoldiHessenberg_apply_succ_eq_zero_iff: breakdown exactly at the grade. * NLAlib.mgsArnoldiHessenberg_apply_eq_zero_of_le: past the grade the computed matrix is zero. * NLAlib.injective_mulVec_mgsArnoldiHessenberg_iff: for invertible \mathbf{A}, full column rank exactly up to the grade.

Declarations