NLA-lib Explorer

NLAlib.ShiftedQR.shDecide

Library · def

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

The decision of Sh: below the threshold (P0 < P1) the step T is accepted (NLAlib.ShiftedQR.trialAccept, flag 1), otherwise the exceptional branch runs (NLAlib.ShiftedQR.shExc). The interface is [N, k, q, n0, w, j] (A, Z, Cr, Cw, Cp, G, Thr, Rt, Pt, P0, P1, T, SR, Ds, Rg, P2, Ss) → (A, Gw, Fl, Lg); acceptance validates the test step's slot j, the exceptional trials use the slots j + 1, \dots, j + n_0.

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

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSh.