NLA-lib Explorer

NLAlib.givensHessenbergStep_of_lt

Library · theorem

This statement changed in the recorded rename: 2026-10-rules.

The rotation of a step inside the matrix, written out: the Givens rotation in the plane (k, k + 1) with the coefficients of (\mathbf{W}_{k,k}, \mathbf{W}_{k+1,k}).

NLAlib.givensHessenbergStep_of_lt.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m p : ℕ}
  (W : Matrix (Fin m) (Fin p) 𝕜) {k : ℕ} (hk : k < m) (hm : k + 1 < m) (hp : k < p) :
  givensHessenbergStep W k =
    givens ⟨k, hk⟩ ⟨k + 1, hm⟩ (givensCoeffs (W ⟨k, hk⟩ ⟨k, hp⟩) (W ⟨k + 1, hm⟩ ⟨k, hp⟩)).1
      (givensCoeffs (W ⟨k, hk⟩ ⟨k, hp⟩) (W ⟨k + 1, hm⟩ ⟨k, hp⟩)).2

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.