APL Wiki logo: Difference between revisions

Jump to navigation Jump to search
12 bytes added ,  05:49, 29 May 2020
m
no edit summary
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 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
trusted
183

edits

Navigation menu