NLA-lib Explorer

NLAlib.ShiftedQR.searchGridWithScratch_storedWorkspace_le

Library · theorem

Streaming the entire grid requires two matrix arenas and fourteen transient words, independently of its (D+1)^2 candidates and of the repetition count k.

NLAlib.ShiftedQR.searchGridWithScratch_storedWorkspace_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.IndexOp Op] [Ops.Has Ops.CmpTst Tst] (n k D : ℕ) (offs : List ℕ)
  (hOffsets : offs.length = 9) :
  Ops.stmtPeak (fun x x_1 ↦ 0) ShiftedQR.searchGridWithScratch (n :: k :: D :: offs) ≤
    4 * (n * n) + 14

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.SearchWorkspace.