NLA-lib Explorer

NLAlib.LanczosReorthImplementation.RoundedStep

Library · structure

The local guarantees of one rounded step with accuracy \varepsilon: from the previous and current vectors \mathbf{v}_p, \mathbf{v}_c and the previous coefficient \beta_p, the computed product \mathbf{u}, the updates \mathbf{w} and \mathbf{z}, the coefficient \alpha, the stored norm \nu of \mathbf{z}, the orthogonalization output \mathbf{z}' with coefficients \mathbf{h} against the basis \mathbf{V} (guarantee G), its norm \beta and the next vector \mathbf{v}_n each meet their kernel error bound.

NLAlib.LanczosReorthImplementation.RoundedStep {N m : ℕ} (A : Matrix (Fin N) (Fin N) ℝ) (ε : ℝ)
  (G : Matrix (Fin N) (Fin m) ℝ → (Fin N → ℝ) → (Fin m → ℝ) → (Fin N → ℝ) → Prop)
  (V : Matrix (Fin N) (Fin m) ℝ) (vp vc vn : Fin N → ℝ) (βp α ν β : ℝ) (uv wv zv z' : Fin N → ℝ)
  (h : Fin m → ℝ) : Prop

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosReorthStep.