NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.initializeRoutine_meets

Library · theorem

Relative-error BLAS

Initialization meets its specification under rounded BLAS contracts: the initial vectors are exact and the residual cache has the computed error. Zero right-hand sides and empty dimensions are included.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.initializeRoutine_meets {K Op Tst : Type} [Inhabited K]
  [Ops.Has Ops.Blas1Op Op] {dec : K → ℝ} {ε : Ops.Blas1Err} {ok : ℕ → Prop} {n : ℕ}
  {I : Ops.Interp Op Tst K} (hB : Ops.IsBlas1 dec ε ok I) (hok : ok n) :
  Krylov.CG.HSCG.Carried.Rounded.initializeRoutine.Meets I
    (Krylov.CG.HSCG.Carried.Rounded.initializeSpec dec (ε.dot n) n)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Initialization.