NLA-lib Explorer

NLAlib.Ops.St.addHistory

Library · def

Include the counts and peak of a preceding run, keeping memory and live cells.

NLAlib.Ops.St.addHistory {Op Tst K : Type} (cost : Ops.Count Op Tst) (peak : ℕ)
  (st : Ops.St Op Tst K) : Ops.St Op Tst K

Full source on GitHub

Import NLAlib.Ops.Exec.