How to flatten this rank 4 array to a rank 2 array? #851
-
|
How would one make the array: Into a rank 2 array that looks like: examples of the desired output are found here. (Note: the way the input array is made is how the inputs are made in the program i am working on.) To put it another way, the code should take a pattern of indices and patterns at said indices and place into those indices the patterns and return those as a rank 2 array, not rank 4 (kind of like making a mosaic with different tiles). I have tried using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Maybe something like |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, i used it for this |
Beta Was this translation helpful? Give feedback.
Maybe something like
≡/⊂/⊂⤸0_2.