GTGetRotationMatrix

GTGetRotationMatrix[symmetry element]
gives the 3-dimensional rotation matrix of a symmetry element.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the package:

In[1]:=
Click for copyable input

Even if the actual representation is not O(3) GTGetRotationMatrix results in the 3x3 rotation matrix.

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

Whereas GTGetMatrix delivers the matrix in the actual representation.

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