NLA-lib Explorer

NLAlib.ShiftedQR.HoldsVector.get_re

Library · theorem

A vector's real component is its first stored word.

NLAlib.ShiftedQR.HoldsVector.get_re {n : ℕ} {a : ℕ × ℕ} {v : Fin n → ℂ} {s : Ops.Store ℝ}
  (h : ShiftedQR.HoldsVector a v s) (i : Fin n) : s.get a.1 (a.2 + 2 * ↑i) = some (v i).re

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveStorage.