Previous Up Next

5.10.9  Composition of a cycle and a permutation : c1op2

c1op2 takes as arguments a cycle and a permutation.
c1op2 returns the permutation obtained by composition :

1starg ∘ 2nd arg 

Input :


Output :


Composition is done using the standard mathematical notation, that is the permutation given as the second argument is performed first.

Previous Up Next