Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get all signed permutations of a list
ResourceFunction["SignedPermutations"][list] returns all the signed permutations of list. | |
ResourceFunction["SignedPermutations"][list,spec] returns signed permutations of type spec. |
All signed permutations of the list {1,2,3}:
In[1]:= | ![]() |
Out[1]= | ![]() |
All signed even permutations of the list {1,2,3}:
In[2]:= | ![]() |
Out[2]= | ![]() |
All signed cyclic permutations of the list {1,2,3}:
In[3]:= | ![]() |
Out[3]= | ![]() |
Find the vertices of a rhombic dodecahedron with edge lengths of :
In[4]:= | ![]() |
Out[4]= | ![]() |
Use ConvexHullMesh to generate the rhombic dodecahedron from its vertices:
In[5]:= | ![]() |
Out[5]= | ![]() |
SignedPermutations[list,All] and SignedPermutations[list,"Symmetric"] are both equivalent to SignedPermutations[list]:
In[6]:= | ![]() |
Out[6]= | ![]() |
Count all signed permutations corresponding to a given list, and compare with the expressions for the explicit counts:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
In[11]:= | ![]() |
Out[11]= | ![]() |
In[12]:= | ![]() |
Out[12]= | ![]() |
In[13]:= | ![]() |
Out[13]= | ![]() |
Create the 120 unit icosians that make the vertices of the 600-cell:
In[14]:= | ![]() |
Out[15]= | ![]() |
The icosians are a closed group under NonCommutativeMultiply (**), but RootReduce was needed for predictable results:
In[16]:= | ![]() |
Out[17]= | ![]() |
Create vertex sets for all 5 Platonic solids and 13 Archimedean solids with unit edges:
In[18]:= | ![]() |
Show these sets with a half-unit sphere around each vertex:
In[19]:= | ![]() |
Out[19]= | ![]() |
Show the polyhedra:
In[20]:= | ![]() |
Out[20]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License