NLA-lib Explorer

NLAlib.ShiftedQR.specNorm_machineShiftedPrefix_sub_le

Library · theorem

Standard rounding

The rounded shift: on a machine with the standard model, subtracting the shift from the diagonal moves \mathbf{H} - s\mathbf{I} by at most \boldsymbol{u}(\|\mathbf{H}\|_2 + \lvert s\rvert) in the spectral norm (the error is diagonal).

NLAlib.ShiftedQR.specNorm_machineShiftedPrefix_sub_le {n : ℕ} {M : Ops.Machine ℝ} {u : ℝ}
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) (s : ℂ) :
  specNorm (ShiftedQR.machineShiftedPrefix M H s (n + 1) - (H - s • 1)) ≤ u * (specNorm H + ‖s‖)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.StableStep.