Permutation

Constructs a permutation.

Syntax

permutation(List)
permutation(List, Integer)
permutation(Vector)

Description

Constructs a permutation given a list with the cycles representation.

combinatorics.permutation1.calc.png

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

combinatorics.permutation2.calc.png

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

combinatorics.permutation3.calc.png