NLA-lib Explorer

NLAlib.Ops.ResourceModel.queryReserve

Library · def

A shared reservation for the largest workspace of any executed query. Adding this to the explicit-allocation/primitive peak is conservative: it allows that query to coincide with the largest live allocation, even if that coincidence does not occur in the actual run.

NLAlib.Ops.ResourceModel.queryReserve {Op Tst : Type} (R : Ops.ResourceModel Op Tst)
  (c : Ops.Count (Op ⊕ Ops.Bookkeeping) Tst) : ℕ

Full source on GitHub

Import NLAlib.Ops.Exec.