NLA-lib Explorer

NLAlib.Ops.dotPrefix_eq_sumSeqF

Library · theorem

The prefix word is precisely the mathematical function of sequential summation.

NLAlib.Ops.dotPrefix_eq_sumSeqF {K : Type} (M : Ops.Machine K) (x y : ℕ → K) (n : ℕ) :
  Ops.dotPrefix M x y n = Ops.sumSeqF M (fun i ↦ M.mul (x i) (y i)) n

Full source on GitHub

Import NLAlib.Ops.Blas.DotMixed.