NLA-lib Explorer

NLAlib.Ops.Examples.srsumF

Library · def

The stochastically rounded sum as a function of the tape entries from the position p.

NLAlib.Ops.Examples.srsumF {K : Type} (g : K → K → K → K) (z₀ : K) (x : ℕ → K) (τ : Ops.Tape K)
  (p : ℕ) : ℕ → K

Full source on GitHub

Import NLAlib.Ops.Examples.StochRound.