NLA-lib Explorer

NLAlib.ShiftedQR.bottomScan

Library · def

The rounded bottom-k scan: reset the flag R[3] and the index R[4] to 0 and visit the subdiagonal entries (N - k + j, N - k + j - 1), j < k, of the N \times N matrix A with NLAlib.ShiftedQR.scanRound (rounded squared modulus, exact comparison with the threshold word). The interface is [N, k] (A, Thr) → (R), for k < N.

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

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolve.