cummin
Syntax
cummin(X)
Please see Cumulative Window Functions (cum-functions) for the parameters and windowing logic.
Details
Cumulatively calculate the minimum values in X.
Examples
$ x = [7,4,5,NULL,9]
$ cummin(x);
[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 |