NLA-lib Explorer

NLAlib.isRoundedRowRotation_machineRowRotation

Library · theorem

Standard rounding

The machine row rotation is a rounded rotation: on a machine with the standard model at 0 \le \boldsymbol{u} \le 1/100, rotating the rows i \ne j of \mathbf{Z} by the coefficients computed from (p, q) is within 12\boldsymbol{u}, per column pair, of the exact Givens rotation of (p, q). [Higham2002, Lemma 19.8].

NLAlib.isRoundedRowRotation_machineRowRotation {M : Ops.Machine ℝ} {u : ℝ} {n : ℕ} {i j : Fin n}
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (hu' : u ≤ 1 / 100) (hij : i ≠ j) (p q : ℂ)
  (Z : Matrix (Fin n) (Fin n) ℂ) :
  IsRoundedRowRotation (12 * u) i j (givensCoeffs p q).1 (givensCoeffs p q).2 Z
    (machineRowRotation M i j (roundedGivensCoeffs M p q).1 (roundedGivensCoeffs M p q).2 Z)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensLog.