NLA-lib Explorer

NLAlib.HutchPlusPlus.estimateRoutine

Library · def

Hutch++: [n, k, ell] (data : read) → (out : write 1), drawing n * (k + ell) tape positions. Operands are separated by block, so the output cell may be in the buffer of the operator data.

NLAlib.HutchPlusPlus.estimateRoutine {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 : ℕ) (dataLength : ℕ → ℕ → ℕ) :
  Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.Alg.