NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.push_stepCount_seq

Library · theorem

Pushing the abstract counts through sequential BLAS gives the stated scalar counts.

NLAlib.Krylov.CG.HSPCG.push_stepCount_seq {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
  [Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op]
  [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] [Ops.Apart Ops.Blas1Op Ops.OperatorOp Op]
  [Ops.Apart Ops.Blas1Op (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] (n : ℕ) :
  (Ops.Count.push Ops.Blas.seq.cost) (Krylov.CG.HSPCG.stepCount n) = Krylov.CG.HSPCG.seqStepCount n

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Linked.