NLA-lib Explorer

NLAlib.Ops.clampRoutine_meets

Library · theorem

The clamp meets its specification under the scalar copy and the exact comparison, with no assumption on the order of the endpoints.

NLAlib.Ops.clampRoutine_meets {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.CmpTst Tst]
  {M : Ops.Machine K} {dec : K → ℝ} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
  (hC : Ops.IsCmp dec I) : Ops.clampRoutine.Meets I (Ops.clampSpec dec)

Full source on GitHub

Import NLAlib.Ops.Blas.Clamp.