GTWhichInput

GTWhichInput[symmetry element]
determines the type of a symmetry element (Symbol, Matrix, Quaternion, Euler Angles or space group elements).

DetailsDetails

  • GTWhichInput gives one of the following results:
  • 1: symmetry element is a symbol
  • 2: symmetry element is a matrix
  • 3: symmetry element is a quaternion
  • 4: symmetry element is a set of Euler angles
  • 5: symmetry element is a space group element
  • GTWhichInput also works for lists of symmetry 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]=