NLAlib.LanczosRun.mul_basis
Library · theorem
The perturbed Lanczos recurrence: the computed basis satisfies \mathbf{H}\mathbf{V}_k = \mathbf{V}_k\mathbf{T}_k + (\beta_k\mathbf{v}_{k+1})\mathbf{e}_{k-1}^{\mathsf{T}} + \mathbf{F}_k (\mathbf{e}_{k-1} the last coordinate vector, indexed from 0), an identity of the definitions. No printed source; the maintainer's draft, eq:governing, writes it as \mathbf{V}_{k+1}\underline{\mathbf{T}}_k + \mathbf{F}_k.
NLAlib.LanczosRun.mul_basis {n k : ℕ} (L : LanczosRun n k) :
L.H * L.basis =
L.basis * L.tridiagonal + vecMulVec (L.β k • L.v (k + 1)) (Pi.single L.lastIndex 1) + L.residualImport NLAlib.Krylov.FinitePrecision.Recurrence.