NLA-lib Explorer

NLAlib.Ops.clamp

Library · def

Clamp one input word between two stored endpoint words. The three inputs and one output may alias. Copying the interior input makes the output independent of its prior contents.

NLAlib.Ops.clamp {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.CmpTst Tst] :
  Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Blas.Clamp.