NLA-lib Explorer

NLAlib.ShiftedQR.regularizeTrial

Library · def

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

One trial of Regularize, at the slot j of the log: if the search word G is positive, run NLAlib.ShiftedQR.trialStep; if its scan found a small entry (Rg[3] positive), accept it (NLAlib.ShiftedQR.trialAccept, which validates the slot). A trial that is not run, or not accepted, leaves its slot invalid. The interface is [N, k, w, j] (A, S, Thr, T, SR, Ds, Rg) → (A, G, Fl, Lg).

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