NLA-lib Explorer

NLAlib.ShiftedQR.optimalTestWithScratch

Library · def

Optimal with caller-owned scratch: the row recurrence from \mathbf{e}_n (NLAlib.ShiftedQR.rowInit, NLAlib.ShiftedQR.rowPolyLoop) and the decision (NLAlib.ShiftedQR.optimalDecide). The interface is [n, k] (A, S, C, V, Y, W, O, T, Z, U, Q) → (F).

NLAlib.ShiftedQR.optimalTestWithScratch {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.CmpTst Tst] : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRitz.