cummin

Details

Cumulatively calculate the minimum values in X.

Examples

x = [7,4,5,NULL,9]
cummin(x);
// output
[7,4,4,4,4]

m = matrix(6 5 7 8 1, 3 9 4 2 10);
m;
#0 #1
6 3
5 9
7 4
8 2
1 10
cummin(m);
#0 #1
6 3
5 3
5 3
5 2
1 2

Related functions:cummax, min