|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
GroupElementFromWord
GroupElementFromWord[group, w]
returns the element of group determined by the word w in the generators of group.
DetailsDetails
- In GroupElementFromWord[group, w], the word w must be a list of nonzero integers
representing generators in the list returned by GroupGenerators[group]. A positive integer
in the word represents the 
generator, and a negative integer
represents the inverse of the 
generator.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
For a given list of group generators, this word represents the product of the first generator with itself and then with inverse of the second generator:
| In[1]:= |
| Out[1]= |
For the dihedral group of order 16, the word corresponds to the element:
| In[2]:= |
| Out[2]= |
The same result can be obtained by multiplying the generators explicitly:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
