NLA-lib Explorer

NLAlib.Ops.Examples.push_noisyDraws_npowCount

Library · theorem

The counts of the linked iteration, through both profiles: per noisy product, one exact product, n scalar draws, one norm, one product by σ and one axpy.

NLAlib.Ops.Examples.push_noisyDraws_npowCount {Tst : Type} (σ : ℚ) (k n : ℕ) :
  (Ops.Count.push (Ops.Examples.noisyDraws σ).cost) (Ops.Examples.npowCount k n) =
    k •
      2 •
        (Ops.Count.one (Ops.ROp.operator Ops.OperatorOp.matvec) [n, n] +
          (n • Ops.Count.one Ops.ROp.draw [] +
            (Ops.Count.one Ops.ROp.nrm2 [n] +
              (Ops.Count.one (Ops.ROp.mulc σ) [] + Ops.Count.one Ops.ROp.axpy [n]))))

Full source on GitHub

Import NLAlib.Ops.Examples.NoisyLinked.