NLA-lib Explorer

NLAlib.hasOrthonormalCols_givens

Library ยท theorem

A Givens rotation is unitary when \lvert c \rvert^2 + \lvert s \rvert^2 = 1 and i \ne j.

NLAlib.hasOrthonormalCols_givens.{u_1, u_3} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_3} [Fintype n]
  [DecidableEq n] {i j : n} (hij : i โ‰  j) {c s : ๐•œ} (hcs : โ€–cโ€– ^ 2 + โ€–sโ€– ^ 2 = 1) :
  HasOrthonormalCols (givens i j c s)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.