gitfan.lib
LIB "gitfan.lib"; permutation sigma = permutationFromIntvec(intvec( 1, 2, 4, 3, 5, 7, 6, 9, 8, 10 )); sigma; ==> | 1 2 3 4 5 6 7 8 9 10| ==> | 1 2 4 3 5 7 6 9 8 10| ==> permutationToIntvec(sigma); ==> 1,2,4,3,5,7,6,9,8,10