Cumulative Sum
The cumulative sum function is frequently used for calculating cumulative gains or losses over a field of numbers. Various applications use this to compute running totals for their applications logic. The formal definition is provided below.
To implement the CumSum
function, see the method signature below. Precision represents the number of decimal places and can be set between 0 and 18. It is applied to vals and output.
Under the hood, the following functions are utilized directly in the Neural client.
Last updated