NLA-lib Explorer

NLAlib.ShiftedQR.subdiagProductRound_eq

Library · theorem

The bottom-product round of the exact-arithmetic potential program (NLAlib.ShiftedQR.subdiagProductRound) is a product round.

NLAlib.ShiftedQR.subdiagProductRound_eq {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] :
  ShiftedQR.subdiagProductRound =
    ShiftedQR.normSqMulRound
      { buf := 0,
        off :=
          Ops.IExp.var 2 +
            Ops.IExp.const 2 *
              ((Ops.IExp.var 0 - Ops.IExp.const 1 - Ops.IExp.var 1 + Ops.IExp.var 5) *
                  Ops.IExp.var 0 +
                (Ops.IExp.var 0 - Ops.IExp.const 1 - Ops.IExp.var 1 + Ops.IExp.var 5 +
                  Ops.IExp.const 1)) }
      { buf := 1, off := Ops.IExp.var 3 } { buf := 2, off := Ops.IExp.var 4 }

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRitz.