Cumulative Maximum
Calculates the cumulative maximum of a vector.
Vector
The cumulative maximum.
cummax([1, 3, 2, 4]) -- Returns = [1, 3, 3, 4]
cumsum, cummin, max