NLA-lib Explorer

NLAlib.Computation.IsRoundingProduct.div

Library · theorem

The ratio of products of rounding errors [Higham2002, Lemma 3.3]: (1 + \theta_k)/(1 + \theta_j) = 1 + \theta_{k+j}, for all j and k.

NLAlib.Computation.IsRoundingProduct.div {u : ℝ} {k j : ℕ} {θ θ' : ℝ}
  (h : Computation.IsRoundingProduct u k θ) (h' : Computation.IsRoundingProduct u j θ') :
  Computation.IsRoundingProduct u (k + j) ((1 + θ) / (1 + θ') - 1)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Rounding.