NLA-lib Explorer

NLAlib.machineRowRotation

Library · def

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

NLAlib.machineRowRotation {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.