NLA-lib Explorer

NLAlib.HutchPlusPlus.estimate_peak_zero

Library · theorem

The actual full estimator has exactly two matrix batches and two scalar cells at peak. The sketch temporary and MGS temporary occur earlier and do not add to that peak.

NLAlib.HutchPlusPlus.estimate_peak_zero {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.CmpTst Tst] [Ops.Has Ops.SampleOp Op]
  [Ops.Has Ops.StoredOperatorOp Op] [Ops.Has Ops.IndexOp Op] (stream n k ell data out : ℕ) :
  Ops.stmtPeak (fun x x_1 ↦ 0) (HutchPlusPlus.estimate stream) [n, k, ell, data, out] =
    2 * n * (k + ell) + 2

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.Resources.