permutationMatrix c, permutationMatrix(n , c), permutationMatrix(n, p), permutationMatrix pThe 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.
|
If n is the largest integer that appears in your array, the value of n can be omitted by using the option EntryMode => "cycle".
|
The following example converts the cyclic notation of a permutation of 4 into a matrix representation.
|
The object permutationMatrix is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/InvariantRing/FiniteGroupsDoc.m2:356:0.