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
I am not sure how to implement a sum or a prod function that does iterate over a value.
For example: f(x) = sum(i, 1, 10, x^i)
Because the evaluation of the function is included in the sum, it is too late to use the current function implementation where the double[] is used as an argument.
Is there any other way to implement this?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I am not sure how to implement a sum or a prod function that does iterate over a value.
For example: f(x) = sum(i, 1, 10, x^i)
Because the evaluation of the function is included in the sum, it is too late to use the current function implementation where the double[] is used as an argument.
Is there any other way to implement this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: