Random Latin squares: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: comments) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: demo argument order agnosticism) |
||
Line 100: | Line 100: | ||
# Specified size |
# Specified size |
||
display random :size($_), latin-square for 3, 3 |
display random :size($_), latin-square for 3, 3; |
||
# Or, if you'd prefer: |
|||
display random latin-square, :size($_) for 9, 14;</lang> |
|||
{{out|Sample output}} |
{{out|Sample output}} |
||
<pre> Ř ŝ ŷ ű ŭ |
<pre> Ř ŝ ŷ ű ŭ |