Calculates the cumulative product of an array.
The array
const result = Chalkboard.stat.cummul([1, 2, 3, 4]); // Returns [1, 2, 6, 24] Copy
const result = Chalkboard.stat.cummul([1, 2, 3, 4]); // Returns [1, 2, 6, 24]
Calculates the cumulative product of an array.