Random Latin squares: Difference between revisions
Latin Squares selected at random uniformly
(→{{header|jq}}: add algorithm for uniform distribution) |
(Latin Squares selected at random uniformly) |
||
Line 1,670:
</syntaxhighlight>
===
<syntaxhighlight lang=sh>
# Include the utilities e.g. by
Line 1,727:
# If the input is a positive integer, $n, generate and print an $n x $n Latin Square.
#
def printLatinSquare:
if type == "number"
Line 1,758:
stats(4;5760)
</syntaxhighlight>
{{output}}
<pre>
|