NLA-lib Explorer

NLAlib.ShiftedQR.HoldsVector.read_entry

Library · theorem

A complete coordinate pair is an ordinary two-word block read.

NLAlib.ShiftedQR.HoldsVector.read_entry {n : ℕ} {a : ℕ × ℕ} {v : Fin n → ℂ} {s : Ops.Store ℝ}
  (h : ShiftedQR.HoldsVector a v s) (i : Fin n) :
  s.readBlock a.1 (a.2 + 2 * ↑i) 2 = some [(v i).re, (v i).im]

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveStorage.