NLA-lib Explorer

NLAlib.planeRotation_mulVec_left

Library · theorem

A plane rotation sends \mathbf{u} to c\mathbf{u} - s\mathbf{v}, for a unit vector \mathbf{u} orthogonal to \mathbf{v}.

NLAlib.planeRotation_mulVec_left.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [DecidableEq n]
  [Fintype n] {u v : n → 𝕜} (hu : ‖WithLp.toLp 2 u‖ = 1) (huv : star u ⬝ᵥ v = 0) (c s : ℝ) :
  planeRotation u v c s *ᵥ u = ↑c • u - ↑s • v

Full source on GitHub

Import NLAlib.Matrix.Basic.PlaneRotation.