NLAlib.CGS2.norm_smul_sub_le_of_isScalErr
Library · theorem
A rounded scaling by a positive divisor: if \mathbf{z} is \mathbf{x}/\beta up to the componentwise relative error e \le E and \beta > 0, then \lVert\beta\mathbf{z} - \mathbf{x}\rVert \le E\lVert\mathbf{x}\rVert.
NLAlib.CGS2.norm_smul_sub_le_of_isScalErr {K : Type} [Inhabited K] {dec : K → ℝ} {e E : ℝ} {n : ℕ}
{β : K} {xs zs : List K} (he : e ≤ E) (hE : 0 ≤ E) (hβ : 0 < dec β)
(h : Ops.IsScalErr dec e n β (Ops.vec xs) (Ops.vec zs)) :
‖WithLp.toLp 2 (dec β • Ops.decv dec n zs - Ops.decv dec n xs)‖ ≤
E * ‖WithLp.toLp 2 (Ops.decv dec n xs)‖Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendRounded.