NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.self_dot_relative

Library · theorem

A self-dot envelope is a relative squared-norm error, including an exactly zero vector. [Higham2002, (3.5)].

NLAlib.Krylov.CG.HSCG.Carried.Rounded.self_dot_relative.{u_1} {ι : Type u_1} [Fintype ι] {e v : ℝ}
  (he : 0 ≤ e) (x : ι → ℝ) (h : |v - x ⬝ᵥ x| ≤ e * ∑ i, |x i * x i|) :
  ∃ d, |d| ≤ e ∧ v = ‖WithLp.toLp 2 x‖ ^ 2 * (1 + d)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Bounds.