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:

PermutationGroup([(1,2,3,4)]).gens()[0].matrix()

then we get the correct result.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/ef0cf95f-63be-4aed-9bd8-54932b1c2282o%40googlegroups.com.

Reply via email to