NLA-lib Explorer

Local errors of a finite-precision Lanczos run

Library · Source module

Local errors of a finite-precision Lanczos run

For a run L : NLAlib.LanczosRun n k (the recurrence in Paige's ordering A(1) with bounded local errors and local accuracy \varepsilon \le 1/100), coefficient growth is bounded by an explicit finite geometric sum. Under the additional horizon k\varepsilon \le 1/100, this gives bounds linear in the step and a recurrence residual of order j\varepsilon\|\mathbf{H}\|_2, with consecutive vectors nearly orthogonal in the same sense.

Steps are indexed from 0 as the columns of the computed basis: step j < k is the paper's step j + 1, it reads \mathbf{v}_{j+1} (L.v (j + 1)) and produces \mathbf{v}_{j+2}. The bound on \lvert\|\mathbf{v}_{j+1}\|^2 - 1\rvert is the field NLAlib.LanczosRun.abs_norm_v_sq_sub_one_le.

No printed source: the maintainer's draft (T. Chen, A simple stability analysis of Lanczos in finite precision), lem:coefficients and thm:local-errors; constants differ.

Main definitions

* NLAlib.LanczosRun.recurrenceError: the residual \mathbf{f} of the three-term recurrence. * NLAlib.LanczosRun.adjacentInner: the inner product \beta\,\mathbf{v}^{\mathsf{T}}\mathbf{v}' of consecutive vectors. * NLAlib.lanczosRecurrenceErrorFactor, NLAlib.lanczosAdjacentInnerFactor: the factors of the two bounds at step j, <!-- value lanczosRecurrenceErrorFactor j --> 6(j + 1) and then <!-- value lanczosAdjacentInnerFactor j --> 7(j + 1).

Main results

* NLAlib.LanczosRun.β_le_geom_sum: coefficient growth without a horizon assumption. * NLAlib.LanczosRun.β_le, NLAlib.LanczosRun.norm_u_le, NLAlib.LanczosRun.norm_w_le, NLAlib.LanczosRun.abs_α_le, NLAlib.LanczosRun.norm_z_le: the a priori coefficient bounds. * NLAlib.LanczosRun.recurrenceError_eq: the residual is minus the sum of the local errors. * NLAlib.LanczosRun.norm_recurrenceError_le: the local error bound on the residual. * NLAlib.LanczosRun.abs_adjacentInner_le: local orthogonality.

Declarations