NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.seq_cost_matvec

Library · theorem

Sequential BLAS keeps the primitive matrix-vector operation and its call count.

NLAlib.Krylov.CG.HSCG.seq_cost_matvec {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] [Ops.Apart Ops.Blas1Op Ops.OperatorOp Op]
  (n : ℕ) :
  Ops.Blas.seq.cost (Ops.Has.inj Ops.OperatorOp.matvec) [n, n] =
    Ops.Count.one (Ops.Has.inj Ops.OperatorOp.matvec) [n, n]

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Linked.