Generate all permutations of (1, ..., K)
It generates a matrix containing all permutations of (1, ..., K).
generatePermutations(K)
K
: integer value of .A matrix of dimension with generated permutations in rows.
Arnošt Komárek arnost.komarek@mff.cuni.cz
generatePermutations(1) generatePermutations(2) generatePermutations(3) generatePermutations(4)