Hi,

⍝ just a simple matrix

      i∘.+i←¯1+⍳2
0 1
1 2

⍝ make it an element
      ⎕ ← e ← ⊂i∘.+i←¯1+⍳2
 0 1
 1 2


⍝ matrix of matrixes....
      2 2 ⍴ e
 0 1   0 1
 1 2   1 2

 0 1   0 1
 1 2   1 2


⍝ enclose the matrix of matrixes indents nicely ...
      ⊂ 2 2 ⍴ e
  0 1   0 1
  1 2   1 2

  0 1   0 1
  1 2   1 2


⍝ display of enclose each 'sub'-matrix misses space line
      ⊂¨2 2 ⍴ e
  0 1   0 1
  1 2   1 2
  0 1   0 1
  1 2   1 2

Best Regards
Hans-Peter
  • nested array formating... Hans-Peter Sorge

Reply via email to