>: Increment • Larger Or Equal
Increment |
>: 0 0 0 |
Larger or Equal
|
>:y is y+1 . For example:
>: 2 3 5 7
3 4 6 8
Also see Not (-.) .
|
|
x>:y is 1 if x is tolerantly greater than
or equal to y.
See Equal (=) for a discussion of tolerance. >:!.t uses
tolerance t .
|
+: i. 6 NB. Even numbers
0 2 4 6 8 10
>: +: i. 6 NB. Odd numbers
1 3 5 7 9 11
odds=: >:@+:@i.
odds 10
1 3 5 7 9 11 13 15 17 19
+/ odds 10
100
(+/@odds , *:) 10 NB. Sum of first n odds equals the square of n
100 100
>:/ ~ i. 5 NB. Table of the dyad >:
1 0 0 0 0
1 1 0 0 0
1 1 1 0 0
1 1 1 1 0
1 1 1 1 1