Permutation

Constructs a permutation.

permutation(List)

Constructs a permutation given a list with the cycles representation.

permutation(List, Integer)

Constructs a permutation given a list with the cycles representation. The second argument is an integer n: the length of the permutation.

permutation(Vector)

Constructs a permutation given a vector with all the images of the permutation.