NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.TwoPassOut.decv_eq_cgsProject

Library · theorem

Two exact program passes coincide with the two projections of the old pure recurrence.

NLAlib.Krylov.Lanczos.Reorth.TwoPassOut.decv_eq_cgsProject {K : Type} [Inhabited K] {dec : K → ℝ}
  {n k : ℕ} {qs ws ws' : List K} (h : Krylov.Lanczos.Reorth.TwoPassOut dec 0 0 n k qs ws ws') :
  Ops.decv dec n ws' =
    cgsProject (fun j i ↦ dec (Ops.vec qs (j * n + ↑i))) k
      (cgsProject (fun j i ↦ dec (Ops.vec qs (j * n + ↑i))) k (Ops.decv dec n ws))

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.SweepExact.