NLA-lib Explorer

NLAlib.ShiftedQR.getD_flatMap_pair

Library · theorem

The words of the entries of a list of complex numbers stored as interleaved pairs.

NLAlib.ShiftedQR.getD_flatMap_pair (zs : List ℂ) {j : ℕ} (hj : j < zs.length) :
  (List.flatMap (fun z ↦ [z.re, z.im]) zs).getD (2 * j) 0 = (zs.getD j 0).re ∧
    (List.flatMap (fun z ↦ [z.re, z.im]) zs).getD (2 * j + 1) 0 = (zs.getD j 0).im

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRowPoly.