permutationMatrix c, permutationMatrix(n , L)The following example converts the one-line notation of a transposition into a matrix representation.
|
The following example converts the cyclic notation of the same transposition into a matrix representation.
|
The following example converts the cyclic notation of a permutation of 4 into a matrix representation.
|
The cycles representing a permutation are multiplied from right to left.
|
The object permutationMatrix is a method function.
The source of this document is in InvariantRing/FiniteGroupsDoc.m2:352:0.