NLA-lib Explorer

NLAlib.embedBlock_givensAt_eq_givens

Library · theorem

The embedded rotation of an entry inside the block, or of the zero fill, is the Givens rotation of the shifted plane.

NLAlib.embedBlock_givensAt_eq_givens {N lo d : ℕ} (hN : lo + d ≤ N) {e : GivensEntry}
  (he : lo + e.1 + 1 < N) (he' : e.1 + 1 < d ∨ e = (0, 0, 0)) :
  embedBlock lo (givensAt d e) =
    givens ⟨lo + e.1, ⋯⟩ ⟨lo + e.1 + 1, he⟩ (givensCoeffs e.2.1 e.2.2).1
      (givensCoeffs e.2.1 e.2.2).2

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensReplay.