Cycles of a permutation: Difference between revisions

m
m (→‎{{header|Julia}}: remove unused functions)
Line 141:
end
end
 
""" Create an identity Perm for permutations of length n """
Perm(n::Int) = Perm(1:n)
 
""" Create a Perm from its cycle vectors """
4,104

edits