GTGetQuaternion[symmetry element]
gives the quaternion corresponding to a symmetry element.
Details and Options
Examples
Basic Examples
Generalizations & Extensions
See Also
Tech Notes
Related Guides
GroupTheory`
GroupTheory`
GTGetQuaternion
GTGetQuaternion[symmetry element]
gives the quaternion corresponding to a symmetry element.
Details and Options
- Suppose a rotation by an angle
about an axis
, then the relating quaternion is defined by 
- The input of GTGetQuaternion can be of type symbol, matrix, quaternion, and Euler angles.
- In GTPack quaternions are implemented in the form {a,{i,j,k}}.
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 2.1.3
Examples
open all close allBasic Examples (4)
Needs["GroupTheory`"]GTGetQuaternion[C3z]GTGetQuaternion[{{0, 0, -(2 π/3)}, 1}]GTGetQuaternion[{{-(1/2), (Sqrt[3]/2), 0}, {-(Sqrt[3]/2), -(1/2), 0}, {0, 0, 1}}]Input of a quaternion results in the same quaternion:
GTGetQuaternion[{-(1/2), {0, 0, (Sqrt[3]/2)}}]Related Guides
-
▪
- Basic