NLAlib.ShiftedQR.rowSolve_writes
Library · theorem
Exact arithmetic
The actual scalar solver is total on every upper Hessenberg matrix. Its report is one only with a proof that the matrix is singular; otherwise the vector is the exact inverse row. The vector and report use separate buffers, and the supplied report has one writable word. [GolubVanLoan2013, §5.2.5]. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.rowSolve_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.CmpTst Tst]
{M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M)
(hCmp : Ops.IsCmp id I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n : ℕ} {d v f : ℕ × ℕ}
{D : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {w : Fin (n + 1) → ℂ} (hD : IsUpperHessenberg D)
(hH : HoldsMatrix d D m.store) (hV : ShiftedQR.HoldsVector v w m.store) (hfv : f.1 ≠ v.1)
(hf : f.2 + 1 ≤ m.store.len f.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.rowSolve (Ops.Env.frame [n + 1] [d, v, v, f])
(Ops.Store.inBlock v.1 v.2 (2 * (n + 1)) ⊔ Ops.Store.inBlock f.1 f.2 1)
(fun m' ↦ m'.pos = m.pos ∧ ShiftedQR.RowSolveResult v f D w m'.store) mImport NLAlib.Eigensolvers.ShiftedQR.RowSolve.