|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Permute
Permute[expr, perm]
permutes the positions of the elements of expr according to the permutation perm.
Permute[expr, gr]
returns the list of permuted forms of expr under the elements of the permutation group gr.
DetailsDetails
- Permute works with any non-atomic expressions, operating on the first level of expressions.
- Permute reorders the elements of an expression but never changes its length.
- The permutation perm can be given in disjoint cyclic form or as a permutation list.
- When perm is given in cyclic form Cycles[{cyc1, cyc2, ...}], a cycle
moves the elements of expr in a cyclic manner so that
is moved to position
. - When perm is given as a permutation list, the result is equivalent to the use of Permute[expr, PermutationCycles[perm]].
- A permutation group gr can be specified by generators, with head PermutationGroup, or in named form, with head SymmetricGroup, AlternatingGroup, ....
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

