NLA-lib Explorer

NLAlib.SmallEig.smallEigDecoupler

Library · def

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

The decoupler of the small-eigenvalue solver ([BanksGarzaVargasSrivastava2025, §6], one node): read the cap words m (bound T), q (bound m), t and m_2 (bound T) from P[8..11]; NLAlib.SmallEig.rhess on the block W in place; NLAlib.SmallEig.oneEig with the words P into the shift Lam and the flag; if the flag is 0, NLAlib.SmallEig.decoupleLast with the shift. The rotations are recorded in the slotted log Lg of ns slots of w entries, zero-filled first: rhess in the slots 0, \dots, N - 2, the steps of decoupleLast from the slot N - 1 on (so N - 1 + m_2 \le n_s and N - 1 \le w). The interface is [N, k, np, F, T, ns, w] (W, P) → (W, Fl, Lg), that of the decoupling routine of NLAlib.ShiftedQR.solveRoundedWith; the bottom width and the iteration cap are not read. Algorithm: small-eig

NLAlib.SmallEig.smallEigDecoupler {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has Ops.SampleOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
  [Ops.Has Ops.IdxTst Q] (sG : ℕ) : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Decoupler.