4,493
edits
(fix the longest common prefix error) |
|||
Line 46: | Line 46: | ||
⍴x ⍝ x is a nested array, i.e. array of array | ⍴x ⍝ x is a nested array, i.e. array of array | ||
3 | 3 | ||
↑x | ↑x ⍝ note that on the third row, 0 is padded to the end so the matrix can be orthogonal (non-ragged) | ||
0 1 2 | 0 1 2 | ||
3 4 5 | 3 4 5 | ||
9 9 0 | 9 9 0 | ||
⍴↑x ⍝ ↑x is a non-nested 2-d array | ⍴↑x ⍝ ↑x is a non-nested 2-d array | ||
3 3 | 3 3 |