|
From: | Dr . Jürgen Sauermann |
Subject: | Re: nested array formating is inconsistent |
Date: | Thu, 26 Aug 2021 17:58:59 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |