NLA-lib Explorer

NLAlib.Ops.sumSeqRoutine_implements

Library · theorem

The routine of sequential summation implements the contract of the operation sum, the operands of the routine being the input followed by the output.

NLAlib.Ops.sumSeqRoutine_implements {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Inhabited K]
  (dec : K → ℝ) (e : ℕ → ℝ) (ok : ℕ → Prop) :
  Ops.sumSeqRoutine.Implements (Ops.sumRel dec e) (Ops.OutApart ok) fun ins outs ↦ ins ++ outs

Full source on GitHub

Import NLAlib.Ops.Blas.Sum.