NLA-lib Explorer

NLAlib.planeRotation_mulVec_right

Library · theorem

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

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

Full source on GitHub

Import NLAlib.Matrix.Basic.PlaneRotation.