« first day (283 days earlier)      last day (2372 days later) » 

12:56 PM
0
Q: APL - Remove nesting and keep shape of matrix

user45815I have a 3x3 matrix of nested 3x3 matrices (which all contain numbers). How do I "de nest" all these matrices so that I end up with a 9x9 matrix.

 
 
5 hours later…
6:20 PM
#TIO version
 
@Uriel TIOBot v 0.0.3
@Uriel you do not have permission to edit settings for this room!
 
 
2 hours later…
7:59 PM
@Adám why does ⍬ reshapes as 0? tryapl.org/?a=5%u2374%u236C&run
 
Aug 12 at 21:49, by Adám
@Uriel The default setting for ]box on preserves space at the cost of some information. using ]box on -style=max is equivalent to ]display and shows the prototype element for empty arrays. you can then see that the prototype for '' is a space and for is a zero.
prototype of ⍬ is zero
also @Adám I don't think there's any builtin for substrings of an array is there?
 
8:54 PM
@EriktheOutgolfer oh right, thanks :P
 

« first day (283 days earlier)      last day (2372 days later) »