powered by
It generates a matrix containing all permutations of (1, ..., K).
generatePermutations(K)
A matrix of dimension \(K! \times K\) with generated permutations in rows.
integer value of \(K\).
Arnošt Komárek arnost.komarek@mff.cuni.cz
generatePermutations(1) generatePermutations(2) generatePermutations(3) generatePermutations(4)
Run the code above in your browser using DataLab