⍝ Numeric range classification:

    0 5 10 15 range ¯1 to 16                ⍝ integer ranges
0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4

    ¯1 0 1 range 1○1 to 40                  ⍝ real number ranges
2 2 2 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 2 2 2

    (5 7 to 20)range 2 3 4⍴1 to 24          ⍝ higher rank right arg
0 0 0 0
1 1 2 2
3 3 4 4
       
5 5 6 6
7 7 8 8
8 8 8 8

Back to: code

Back to: Workspaces