NLA-lib Explorer

NLAlib.Ops.scalLoopRoutine_implements

Library · theorem

The routine of the scal loop implements the contract of the operation scal: its operands are the inputs.

NLAlib.Ops.scalLoopRoutine_implements {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Inhabited K]
  (dec : K → ℝ) (e : ℝ) (ok : ℕ → Prop) :
  Ops.scalLoopRoutine.Implements (Ops.scalRel dec e) (Ops.InPlace ok) fun ins x ↦ ins

Full source on GitHub

Import NLAlib.Ops.Blas.Level1.