PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Discrete Mathematics
>
Permutations
>
Permute
>
BUILT-IN MATHEMATICA SYMBOL
Permutations
Permutation Lists
Permutation Groups
Named Groups
Tutorials »
|
Cycles
FindPermutation
Part
PermutationGroup
See Also »
|
Permutations
Summary of New Features in Mathematica 8
New in 8.0: Alphabetical Listing
New in 8.0: Mathematics & Algorithms
More About »
Permute
Permute
permutes the positions of the elements of
expr
according to the permutation
perm
.
Permute
returns the list of permuted forms of
expr
under the elements of the permutation group
gr
.
MORE INFORMATION
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
, 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
, ....
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Cyclic permutation of three elements in a list:
Take the lowercase alphabet:
Exchange the first and last character:
Permute several characters:
Permute an expression under all elements of a group:
Cyclic permutation of three elements in a list:
In[1]:=
Out[1]=
Take the lowercase alphabet:
In[1]:=
Out[1]=
Exchange the first and last character:
In[2]:=
Out[2]=
Permute several characters:
In[3]:=
Out[3]=
Permute an expression under all elements of a group:
In[1]:=
Out[1]=
Scope
(3)
Permute the parts of an expression:
Permute the parts of an expression under all elements of a group:
Give a permutation in list form. The length of the expression does not change:
Applications
(1)
The eight possible rotations and reflections of a square:
Properties & Relations
(5)
Permute
never changes the number of parts of an expression. It simply reorders them:
However,
Part
can change the number of parts:
When applied to permutation lists,
Permute
is the inverse of
PermutationReplace
:
Permute
can also be used as an alternative to
PermutationList
:
Another way of inverting the action of
Permute
is using
FindPermutation
:
When all parts of the expression are different, the permutation can be uniquely recovered:
Permute
is a right action with respect to the product of permutations:
SEE ALSO
Cycles
FindPermutation
Part
PermutationGroup
TUTORIALS
Permutations
Permutation Lists
Permutation Groups
Named Groups
MORE ABOUT
Permutations
Summary of New Features in
Mathematica
8
New in 8.0: Alphabetical Listing
New in 8.0: Mathematics & Algorithms
New in 8