NLA-lib Explorer

NLAlib.ShiftedQR.reverseRotations_foldl

Library · theorem

Completed reverse rotations and the remaining suffix are the same reverse fold.

NLAlib.ShiftedQR.reverseRotations_foldl {n : ℕ} (D : Matrix (Fin n) (Fin n) ℂ) (k : ℕ)
  (v : Fin n → ℂ) (t : ℕ) :
  t ≤ k →
    List.foldl (ShiftedQR.reverseRotationStep D) (ShiftedQR.reverseRotations D k v t)
        (List.range (k - t)).reverse =
      List.foldl (ShiftedQR.reverseRotationStep D) v (List.range k).reverse

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveMath.