NLA-lib Explorer

NLAlib.givens_mulVec_apply_left

Library · theorem

Coordinate i of a rotated vector: c \mathbf{x}_i + s \mathbf{x}_j.

NLAlib.givens_mulVec_apply_left.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  [DecidableEq n] {i j : n} (hij : i ≠ j) (c s : 𝕜) (x : n → 𝕜) :
  (givens i j c s *ᵥ x) i = c * x i + s * x j

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.