You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We should change rename the current sum function to be called total and create a new sum function that takes four parameters such as start index, end index, index variable, function.
This new sum function could have optimizations such as the sum of [0,n] or [1,n] is known to be n * (n - 1)/2.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We should change rename the current
sum
function to be calledtotal
and create a new sum function that takes four parameters such asstart index, end index, index variable, function
.This new sum function could have optimizations such as the sum of
[0,n]
or[1,n]
is known to ben * (n - 1)/2
.The text was updated successfully, but these errors were encountered: