NLAlib.ShiftedQR.regularizeWithScratchWith
Library · def
This statement changed in the recorded rename: 2026-11-schur.
Regularize with a small-eigenvalue routine and caller-owned scratch: the trailing k \times k block of the order-N matrix A into B, the routine SE with the words Qw and the cap T (interface [d, nq, T] (Bk, Q) → (Ev)) into the k pairs S, one random perturbation of each pair (radius word Rd), Optimal with the word C into G; if optimal, the flag Fl is 0; otherwise Fl is 2 and the k trials run until one decouples (then Fl is 1). Trial t records its rotations in slot j_0 + t of the slotted log Lg of slot width w; an accepted trial validates its slot. The interface is [N, k, nq, T, w, j0] (A, Rd, C, Thr, Qw, B, Z, G, Tm, SR, Ds, Rg) → (A, S, Fl, Lg).
NLAlib.ShiftedQR.regularizeWithScratchWith {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
(SE : Ops.Stmt O Q) : Ops.Stmt O QImport NLAlib.Eigensolvers.ShiftedQR.RoundedRegularize.