NLA-lib Explorer

NLAlib.Ops.PairScalar.normSqRoutine_meets

Library · theorem

The squared modulus meets its specification on any scalar machine: two squares and one addition, with no accuracy hypothesis.

NLAlib.Ops.PairScalar.normSqRoutine_meets {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) :
  Ops.PairScalar.normSqRoutine.Meets I (Ops.PairScalar.normSqSpec M)

Full source on GitHub

Import NLAlib.Ops.Blas.NormSq.