NLA-lib Explorer

NLAlib.Ops.ScalarProducts.sumWord_exact

Library ยท theorem

Exact scalar arithmetic turns the same word recurrence into the usual finite sum.

NLAlib.Ops.ScalarProducts.sumWord_exact {๐•œ : Type} [RCLike ๐•œ] (xs ys : โ„• โ†’ ๐•œ) (n : โ„•) :
  Ops.ScalarProducts.sumWord Ops.RCLikeBlas.machine xs ys n = โˆ‘ j โˆˆ Finset.range n, xs j * ys j

Full source on GitHub

Import NLAlib.Ops.Blas.ScalarProducts.