trusted
183
edits
mNo edit summary |
|||
Line 205: | Line 205: | ||
Since we want the offsets paired up with themselves, we can use <source lang=apl inline>⍨</source> again: | Since we want the offsets paired up with themselves, we can use <source lang=apl inline>⍨</source> again: | ||
<source lang=apl> | <source lang=apl> | ||
,⍤0⍤0 1⍨⍳3 | |||
0 0 | 0 0 | ||
0 1 | 0 1 | ||
Line 219: | Line 219: | ||
</source> | </source> | ||
The offset pairs form our circle locations: | The offset pairs form our circle locations: | ||
<source lang=apl> | |||
⍴locs←,⍤0⍤0 1⍨offsets | ⍴locs←,⍤0⍤0 1⍨offsets | ||
5 5 2 | 5 5 2 |