NLA-lib Explorer

NLAlib.det_givens

Library ยท theorem

The determinant of a unitary Givens rotation is one.

NLAlib.det_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) : (givens i j c s).det = 1

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.