NLA-lib Explorer

NLAlib.ShiftedQR.roundedDecoupleLoopWith

Library · def

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

The rounds of the decoupling loop with a small-eigenvalue routine, with the scan registers R and the index words m (k = 2^m) and n_0 (the net size) as dimensions: scan the bottom k subdiagonal entries with the threshold P[0], and while none passed, for at most F rounds, run NLAlib.ShiftedQR.shIterationWith with the words P[1..7], the net at P[10], the routine's 12 words as the tail P[np - 12] of the parameter words and the cap T, recording round j's k + 1 + n_0 trial sites in the slots j(k + 1 + n_0), \dots of the log Lg (slot width w), then scan again; then NLAlib.ShiftedQR.roundedDecoupleExit. The interface is [N, k, np, F, T, m, n0, w] (W, P, R) → (W, Fl, Lg).

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

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedDecouple.