NLA-lib Explorer

NLAlib.Computation.RelErr.norm_sub_le

Library · theorem

Componentwise relative error bounds the Euclidean forward error by the same coefficient.

NLAlib.Computation.RelErr.norm_sub_le.{u_1} {ι : Type u_1} [Fintype ι] {u : ℝ} {x y : ι → ℝ}
  (hu : 0 ≤ u) (h : ∀ (i : ι), Computation.RelErr u (x i) (y i)) :
  ‖WithLp.toLp 2 (x - y)‖ ≤ u * ‖WithLp.toLp 2 x‖

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Normalization.