Random Latin squares: Difference between revisions

clarification
(clarification)
Line 2:
 
A Latin square of size <code>n</code> is an arrangement of <code>n</code> symbols in an <code>n-by-n</code> square in such a way that each row and column has each symbol appearing exactly once.<br>
For the purposes of this task, a random Latin square of size n is a Latin square constructed or generated by a probabilistic procedure such that the probability of any particular Latin square of size n being produced is non-zero.<code>n</code>.
A randomised Latin square generates random configurations of the symbols for any given <code>n</code>.
 
;Example n=4 randomised Latin square:
Line 14:
# Use the function to generate ''and show here'', two randomly generated squares of size 5.
 
;NotesNote:
Strict ''Uniformityuniformity'' in the random generation is a hard problem and '''not''' a requirement of the task. On the other hand, the probability of the algorithm producing any particular Latin square of a particular size should be non-zero.
 
;Related tasks:
2,442

edits