Mix: Difference between revisions

Jump to navigation Jump to search
29 bytes added ,  20:41, 4 September 2021
(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 ⍝ note that 0 is automatically added at the back due to auto-padding
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

Navigation menu