### 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 :

Input :

c1op2([3,4,5],[2,0,1,4,3,5])

Output :

[2,0,1,5,4,3]

Warning

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