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

Improve this page

Add a description, image, and links to the sumofproducts topic page so that developers can more easily learn about it.

Curate this topic

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