NLA-lib Explorer

NLAlib.ShiftedQR.regularizeDecide

Library · def

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

The decision of Regularize: Optimal of the k shifts S with the word C into G; if optimal, the flag Fl is 0; otherwise Fl is 2, G is 1, and the trials run at the slots j_0, \dots, j_0 + k - 1 of the log. The interface is [N, k, w, j0] (A, S, C, Thr, T, SR, Ds, Rg) → (A, G, Fl, Lg).

NLAlib.ShiftedQR.regularizeDecide {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.RoundedRegularizeTrial.