NLA-lib Explorer

NLAlib.Ops.RCLikeScalar.nrm2Routine_meets

Library · theorem

The Euclidean norm meets the specification read off the exact level-one norm: the judgment of dotRoutine, called on the vector twice over, then the scalar square root.

NLAlib.Ops.RCLikeScalar.nrm2Routine_meets {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.StarOp Op] {𝕜 : Type} [RCLike 𝕜] {I : Ops.Interp Op Tst 𝕜}
  (hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hStar : Ops.RCLikeStar.IsExact I) :
  Ops.RCLikeScalar.nrm2Routine.Meets I
    (Ops.Routine.Spec.ofRel (Ops.RCLikeBlas.functions Ops.Blas1Op.nrm2).rel fun x ↦ True)

Full source on GitHub

Import NLAlib.Ops.Profiles.RCLikeScalar.