GTGetMatrix

GTGetMatrix[symmetry element]
gives a matrix corresponding to a symmetry element.

DetailsDetails

  • According to the defined standard representation (see GTWhichRepresentation) GTGetMatrix gives either 3-dimensional rotation matrices of the group O(3), rotation matrices in spin space of the group SU(2), 2-dimensional rotation matrices of the group O(2), double group representation matrices of the group SU(2)x{1,-1} ("SU(2)xS"), or permutation matrices, if a group was installed using GTTableToGroup.
  • The input of GTGetMatrix can be of type symbol, matrix, quaternion, and Euler angles (compare GTSymbolQ, GTQuaternionQ or GTEulerAnglesQ).
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 2.1.1, 2.2.4, 5.1

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

First, load the package:

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

Input of Euler angles:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

Input of a quaternion:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

Input of a matrix results in the same matrix

In[1]:=
Click for copyable input
Out[1]//MatrixForm=