APL Wiki logo: Difference between revisions

Jump to navigation Jump to search
3 bytes removed ,  02:48, 17 December 2019
m
(LaTeX symbols to commands)
Tags: Mobile edit Mobile web edit
Line 182: Line 182:
└───┴───┴───┴───┴───┘
└───┴───┴───┴───┴───┘
</source>
</source>
Now we take each coordinate (i.e. each [[rank]] 0 sub-array) from that and use it to [[Squad index|index]] (<source lang=apl inline>⌷</source>) into the list (a [[rank]] 1 array) of offsets. The result is has shape…
Now we take each coordinate (i.e. each [[rank]] 0 sub-array) from that and use it to [[Squad index|index]] (<source lang=apl inline>⌷</source>) into the list (a [[rank]] 1 array) of offsets. The result has shape…
<source lang=apl>
<source lang=apl>
       ⍴xy←indices⌷⍤0 1⊢offsets
       ⍴xy←indices⌷⍤0 1⊢offsets

Navigation menu