NLA-lib Explorer

NLAlib.machineColRotation

Library · def

The columns i, j of \mathbf{H} rotated pairwise by the adjoint of the rotation of the coefficient words (c, s) on the machine M, as the scalar column rotation computes them: column i is the computed \bar c\mathbf{H}_{\cdot i} + \bar s\mathbf{H}_{\cdot j}, column j the computed -s\mathbf{H}_{\cdot i} + c\mathbf{H}_{\cdot j}, the other columns are kept.

NLAlib.machineColRotation {n : ℕ} (M : Ops.Machine ℝ) (i j : Fin n) (c s : ℂ)
  (H : Matrix (Fin n) (Fin n) ℂ) : Matrix (Fin n) (Fin n) ℂ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensPrograms.