NLA-lib Explorer

NLAlib.Ops.IsBlas1.toExact

Library · theorem

Relative-error BLAS

Level-1 operations whose error bounds are zero satisfy the exact contracts.

NLAlib.Ops.IsBlas1.toExact {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.Blas1Op Op] {dec : K → ℝ}
  {ok : ℕ → Prop} {J : Ops.Interp Op Tst K}
  (h :
    Ops.IsBlas1 dec { sum := fun x ↦ 0, dot := fun x ↦ 0, axpy := 0, sqrt := 0, scal := 0 } ok J) :
  Ops.IsExactBlas1 dec ok J

Full source on GitHub

Import NLAlib.Ops.Catalog.Blas1.