NLA-lib Explorer

NLAlib.givens

Library 路 def

The Givens rotation in the coordinate plane (i, j): the identity outside rows and columns i, j, and \begin{\mathbf{b}matri\mathbf{x}} c & s \\ -\bar{s} & \bar{c} \end{\mathbf{b}matri\mathbf{x}} on them. [GolubVanLoan2013, 搂5.1.8].

NLAlib.givens.{u_1, u_3} {饾暅 : Type u_1} [RCLike 饾暅] {n : Type u_3} [DecidableEq n] (i j : n)
  (c s : 饾暅) : Matrix n n 饾暅

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.