NLA-lib Explorer

NLAlib.SmallEig.oneEig

Library · def

OneEig ([BanksGarzaVargasSrivastava2025, Proposition 3.5], corrected): the six directions e^{i\pi j/3}; the start Lam a polar sample of the radius \eta_2 = Q[4] and its estimate \tau by NLAlib.SmallEig.distSpec; the flag 0 (NLAlib.SmallEig.oneEigStart); then, while 0.9\beta' = Q[5] < \tau and for at most t rounds, one round (NLAlib.SmallEig.oneEigRound: one polar sample w, the estimates of the six points s + \tau e^{i\pi j/3} + w, and the move to the best one if its estimate is at most 0.66\,\tau, otherwise the flag 1 and the estimate 0, which ends the loop); at the cap with 0.9\beta' < \tau, the flag 1 (NLAlib.SmallEig.oneEigCheck). The interface is [N, m, q, t] (H, Q) → (Lam, Fl); the scratch is scoped. Algorithm: small-eig

NLAlib.SmallEig.oneEig {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q] : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.OneEig.