NLA-lib Explorer

NLAlib.ShiftedQR.storedMatrix_col_of_readBlock

Library · theorem

A column of complex words stored as interleaved pairs is read back entrywise by NLAlib.storedMatrix.

NLAlib.ShiftedQR.storedMatrix_col_of_readBlock {s : Ops.Store ℝ} {b : ℕ × ℕ} {zs : List ℂ}
  (h : s.readBlock b.1 b.2 (2 * zs.length) = some (List.flatMap (fun z ↦ [z.re, z.im]) zs))
  (j : Fin zs.length) : storedMatrix b zs.length 1 s j 0 = zs[j]

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedShExc.