NLA-lib Explorer

NLAlib.hasOrthonormalCols_planeRotation

Library · theorem

A plane rotation is unitary, for orthonormal \mathbf{u}, \mathbf{v} and c^2 + s^2 = 1.

NLAlib.hasOrthonormalCols_planeRotation.{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)
  (hv : ‖WithLp.toLp 2 v‖ = 1) (huv : star u ⬝ᵥ v = 0) {c s : ℝ} (hcs : c ^ 2 + s ^ 2 = 1) :
  HasOrthonormalCols (planeRotation u v c s)

Full source on GitHub

Import NLAlib.Matrix.Basic.PlaneRotation.