NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.stepRoutine_meets

Library · theorem

Standard rounding Relative-error BLAS Oracle: matrix–vector product

One rounded round meets its specification under ordinary numerical BLAS contracts.

NLAlib.Krylov.CG.HSPCG.Rounded.stepRoutine_meets {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] {F : Ops.Machine ℝ}
  {n : ℕ} {em u : ℝ} {ε : Ops.Blas1Err} {A P : Matrix (Fin n) (Fin n) ℝ} {O : MatvecOracle P}
  {I : Ops.Interp Op Tst ℝ} {ok : ℕ → Prop} (hS : Ops.IsScalar F I) (hF : Ops.StdModel u id F)
  (hB : Ops.IsBlas1 id ε ok I) (hok : ok n) (hA : Ops.IsMatvec id A (em * specNorm A) I)
  (hP :
    I.IsFn Ops.Mode.total (Ops.Tagged.inj Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp.matvec)
      (Ops.matvecFn O.mulVec) (Ops.MatvecOperands n n)) :
  Krylov.CG.HSPCG.stepRoutine.Meets I (Krylov.CG.HSPCG.Rounded.stepSpec em u ε A O)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Step.