NLA-lib Explorer

NLAlib.ShiftedQR.sweepWithDiag

Library · def

Run the existing sweep and then copy the final working diagonal entry into a separate pair. The interface is [n] (W,Z,Cf) -> (W,Z,D); W and Z are exact in-place views, and D is disjoint from both matrices and the four coefficient words.

NLAlib.ShiftedQR.sweepWithDiag {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.SweepOutput.