NLAlib.ShiftedQR.readBlock_flatMap_pair_of_forall
Library · theorem
A list of complex numbers stored as interleaved pairs, read pair by pair.
NLAlib.ShiftedQR.readBlock_flatMap_pair_of_forall {s : Ops.Store ℝ} {b o : ℕ} {zs : List ℂ}
(h : ∀ j < zs.length, s.readBlock b (o + 2 * j) 2 = some [(zs.getD j 0).re, (zs.getD j 0).im]) :
s.readBlock b o (2 * zs.length) = some (List.flatMap (fun z ↦ [z.re, z.im]) zs)Import NLAlib.Eigensolvers.ShiftedQR.PairBlocks.