NLA-lib Explorer

NLAlib.givens_mulVec_apply_right

Library · theorem

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

NLAlib.givens_mulVec_apply_right.{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) j = -star s * x i + star c * x j

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.