NLAlib.ShiftedQR.subdiagProduct_writes
Library · theorem
Exact arithmetic
The scoped product routine returns the exact statistic and frees its three scratch words. Only the matrix/output separation and one output word of capacity are supplied by the caller. Shared by the trees of NLAlib.ShiftedQR.scalarDecouple and NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.
NLAlib.ShiftedQR.subdiagProduct_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine ℝ}
{I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M) {τ : Ops.Tape ℝ}
{m : Ops.Mem ℝ} {n k : ℕ} {a p : ℕ × ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (hk : k ≤ n)
(hH : HoldsMatrix a H m.store) (hp : p.2 < m.store.len p.1)
(hap :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(Ops.Store.inBlock p.1 p.2 1)) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.subdiagProduct (Ops.Env.frame [n + 1, k] [a, p])
(Ops.Store.inBlock p.1 p.2 1)
(fun m' ↦ m'.pos = m.pos ∧ m'.store.get p.1 p.2 = some (subdiagNormSqProd k H)) mImport NLAlib.Eigensolvers.ShiftedQR.Potential.