NLA-lib Explorer

The perturbed Lanczos recurrence and Ritz residuals

Library · Source module

The perturbed Lanczos recurrence and Ritz residuals

The polynomial bounds below assume k\varepsilon \le 1/100 explicitly; the recurrence identities need only local accuracy. The matrix form of the local error bounds of a run L : NLAlib.LanczosRun n k: with the computed basis \mathbf{V}_k = [\mathbf{v}_1, \dots, \mathbf{v}_k] (L.basis, column j is \mathbf{v}_{j+1}), the computed tridiagonal matrix \mathbf{T}_k (L.tridiagonal, entries indexed from 0 as NLAlib.lanczosTridiagonal) and the residual matrix \mathbf{F}_k of the recurrence, \mathbf{H}\mathbf{V}_k = \mathbf{V}_k\mathbf{T}_k + \beta_k\mathbf{v}_{k+1}\mathbf{e}_k^{\mathsf{T}} + \mathbf{F}_k, \qquad \|\mathbf{F}_k\|_{\mathsf{F}} \le 6k^{3/2}\varepsilon\|\mathbf{H}\|_2 \,, and its consequence for a Ritz pair (\theta, \mathbf{V}_k\mathbf{y}): the residual is the scalar estimate \beta_k\lvert y_k\rvert up to O(\varepsilon\|\mathbf{H}\|_2).

No printed source: the maintainer's draft (T. Chen, A simple stability analysis of Lanczos in finite precision), eq:governing, eq:ritz-residual-identity, eq:ritz-residual-bound.

Main definitions

* NLAlib.LanczosRun.basis, NLAlib.LanczosRun.tridiagonal, NLAlib.LanczosRun.residual, NLAlib.LanczosRun.lastIndex. * NLAlib.lanczosResidualFactor: the factor <!-- value lanczosResidualFactor k --> 6k\sqrt{k} of the residual bound.

Main results

* NLAlib.LanczosRun.mul_basis: the perturbed recurrence. * NLAlib.LanczosRun.frobNorm_residual_le, NLAlib.LanczosRun.specNorm_residual_le: its residual. * NLAlib.LanczosRun.mulVec_basis_mulVec_sub_smul: the Ritz residual identity. * NLAlib.LanczosRun.norm_mulVec_basis_mulVec_sub_smul_le: the Ritz residual bound.

Declarations