NLAlib.ShiftedQR.shIterationWithScratchWith
Library · def
This statement changed in the recorded rename: 2026-11-schur.
One iteration with a small-eigenvalue routine and caller-owned scratch: NLAlib.ShiftedQR.regularizeWith of the order-N matrix A (radius word Rd, Optimal word C, threshold word Thr, the routine SE with the words Qw and the cap T) into the k shift pairs S and the flag Fl; if the flag is 0 (the shifts are optimal), NLAlib.ShiftedQR.shStep with them and the words Cg, Cr, Cw, Cp, the net G of n_0 points and Thr. The iteration's k + 1 + n_0 trial sites record their rotations in the slots j_0, \dots, j_0 + k + n_0 of the slotted log Lg of slot width w: Regularize's trials at j_0 + t, Sh's test step at j_0 + k and its exceptional trials after it. The interface is [N, m, k, n0, nq, T, w, j0] (A, Rd, C, Thr, Cg, Cr, Cw, Cp, G, Qw, S) → (A, Fl, Lg).
NLAlib.ShiftedQR.shIterationWithScratchWith {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
[Ops.Has Ops.IdxTst Q] (SE : Ops.Stmt O Q) : Ops.Stmt O QImport NLAlib.Eigensolvers.ShiftedQR.RoundedIteration.