Re: [sage-devel] Wrong matrix of Permutation

2020-06-15 Thread Michael Orlitzky
On 2020-06-15 10:58, 'Paul Mercat' via sage-devel wrote: > Hi ! > > Sage doesn't compute correctly the matrix of a Permutation: > > matrix(Permutation('(1,2,3,4)')) > > return a wrong answer: it returns the inverse of the correct result. > The product of matrices of permutations must be equal

[sage-devel] Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Hi ! Sage doesn't compute correctly the matrix of a Permutation: matrix(Permutation('(1,2,3,4)')) return a wrong answer: it returns the inverse of the correct result. The product of matrices of permutations must be equal to the matrix of the composition. If we do: