NLA-lib Explorer

NLAlib.ShiftedQR.optimalDecide

Library · def

The decision of Optimal: the rounded norm t of the stored row V (three scratch words U, into Q[0]), the threshold \mathrm{fl}(c\,\mathrm{fl}(\sqrt{\cdot})) of the rounded bottom product of the order-n matrix A and the stored word C (into Q[1]), and the flag F set to the literal 1 if t is below the threshold, to 0 otherwise. The interface is [n, k] (A, C, V, U, Q) → (F).

NLAlib.ShiftedQR.optimalDecide {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.CmpTst Tst] :
  Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRitz.