GTWhichOutput

GTWhichOutput[symmetry element, type index]
transforms an symmetry element to either a symbol, a matrix, a quaternion, a set of Euler Angles or a space group element, according to the given type index.

DetailsDetails

  • symmetry element can be transformed according to the following values of type index:
  • 1: the output will be a symbol
  • 2: the output will be a matrix
  • 3: the output will be a quaternion
  • 4: the output will be a set of Euler angles
  • 5: the output will be a space group element
  • GTWhichOutput also works for lists of elements.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica.

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

First, load the package:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=