NLA-lib Explorer

NLAlib.ShiftedQR.shTrial

Library · def

This statement changed in the recorded rename: 2026-11-schur.

One trial of Sh: if the search word G is positive, run NLAlib.ShiftedQR.trialStep with the shift S; accept the step if its scan found a small entry (Rg[3] positive), else run the potential test NLAlib.ShiftedQR.shPotentialAccept against Pt. The step records its rotations in slot j of the log Lg, validated on acceptance. The interface is [N, k, q, w, j] (A, S, Thr, Pt, T, SR, Ds, Rg, P2) → (A, G, Fl, Lg).

NLAlib.ShiftedQR.shTrial {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has Ops.CmpTst Q] : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedShTrial.