Abelian sandpile model/Identity: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m →{{header|Raku}}: fix comments, specify minimum version |
|||
Line 346:
# some handy display layout modules
use Terminal::Boxer:ver<0.2+>;
use Text::Center;
for 3, (4,3,3,3,1,2,0,2,3), (2,1,2,1,0,1,2,1,2), #
3, (2,1,2,1,0,1,2,1,2), (2,1,2,1,0,1,2,1,2), #
5, (4,1,0,5,1,9,3,6,1,0,8,1,2,5,3,3,0,1,7,5,4,2,2,4,0), (2,3,2,3,2,3,2,1,2,3,2,1,0,1,2,3,2,1,2,3,2,3,2,3,2) # 5 square test
-> $size, $pile, $identity {
|