Skip to content
#

sumofproducts

Here are 3 public repositories matching this topic...

You have a range of consecutive numbers, from 1 to n (inclusive). e.g. [1,2,3,4,...,n]. We would like to calculate a sum of a function across the entire range, where the function returns the product of the *preceding* C elements. If there are less than C previous elements, just use the available numbers. i.e. if you are processing the fourth num…

  • Updated Mar 30, 2017
  • Java

You have a range of consecutive numbers, from 1 to n (inclusive). e.g. [1,2,3,4,...,n]. We would like to calculate a sum of a function across the entire range, where the function returns the product of the *preceding* C elements. If there are less than C previous elements, just use the available numbers. i.e. if you are processing the fourth num…

  • Updated Mar 30, 2017
  • Java

Add this topic to your repo

To associate your repository with the sumofproducts topic, visit your repo's landing page and select "manage topics."

Learn more