next up previous contents index
suivant: Composition of a permutation monter: Permutations précédent: Product of two permutations   Table des matières   Index


Composition of a cycle and a permutation : c1op2

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

1stargo2ndarg

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 second argument is performed first.



Documentation of giac written by Renée De Graeve and Bernard Parisse