NLAlib.Krylov.CG.HSCG.Carried.Rounded.self_dot_pos
Library · theorem
A self-dot approximation with error below one is positive for a nonzero vector. [Higham2002, (3.5)].
NLAlib.Krylov.CG.HSCG.Carried.Rounded.self_dot_pos {n : ℕ} {e rho : ℝ} {r : Fin n → ℝ} (he : 0 ≤ e)
(he1 : e < 1) (hr : r ≠ 0) (hcache : |rho - r ⬝ᵥ r| ≤ e * ∑ i, |r i * r i|) : 0 < rhoImport NLAlib.Krylov.CG.HSCG.Carried.Rounded.Prefix.