Calculates the cumulative minimum of an array.
The array
const result = Chalkboard.stat.cummin([3, 1, 4, 0, 5]); // Returns [3, 1, 1, 0, 0] Copy
const result = Chalkboard.stat.cummin([3, 1, 4, 0, 5]); // Returns [3, 1, 1, 0, 0]
Calculates the cumulative minimum of an array.