NLA-lib Explorer

A Lanczos run with bounded local errors

Library · Source module

A Lanczos run with bounded local errors

NLAlib.LanczosRun n k is k steps of the symmetric Lanczos recurrence in Paige's ordering A(1) with a local error in each of its five operations, each bounded relative to its operands by one accuracy parameter \varepsilon, and nearly unit Lanczos vectors: \mathbf{u}_j = \mathbf{H}\mathbf{v}_j + \mathbf{e}^u_j,\quad \mathbf{w}_j = \mathbf{u}_j - \beta_{j-1}\mathbf{v}_{j-1} + \mathbf{e}^w_j,\quad \alpha_j = \mathbf{v}_j^{\mathsf{T}}\mathbf{w}_j + e^\alpha_j,\quad \mathbf{z}_j = \mathbf{w}_j - \alpha_j\mathbf{v}_j + \mathbf{e}^z_j,\quad \beta_j\mathbf{v}_{j+1} = \mathbf{z}_j + \boldsymbol{\delta}_j . This is an abstract local-error interface for the stability analysis (local errors, Paige's theorem and the Greenbaum backward model). Connecting a particular program requires an execution theorem deriving these fields from its decoded outputs and scalar arithmetic contract. The interface itself neither supplies that theorem nor certifies a floating-point implementation. Indices as in the paper: \mathbf{v}_0 = \mathbf{0}, \beta_0 = 0, steps j = 1, \dots, k.

## Main definitions

* NLAlib.LanczosRun: a run of k steps with accuracy parameter \varepsilon. * NLAlib.LanczosRun.ofLE: the same run with a larger accuracy parameter.

Declarations