GTWhichInput[symmetry element]
determines the type of a symmetry element (Symbol, Matrix, Quaternion, Euler Angles or space group elements).
Details and Options
Examples
Basic Examples
Generalizations & Extensions
See Also
Related Guides
GroupTheory`
GroupTheory`
GTWhichInput
GTWhichInput[symmetry element]
determines the type of a symmetry element (Symbol, Matrix, Quaternion, Euler Angles or space group elements).
Details and Options
- 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.
Examples
open all close allBasic Examples (5)
Needs["GroupTheory`"]GTWhichInput[C3z]GTWhichInput[{{-(1/2), (Sqrt[3]/2), 0}, {-(Sqrt[3]/2), -(1/2), 0}, {0, 0, 1}}]GTWhichInput[{-(1/2), {0, 0, (Sqrt[3]/2)}}]GTWhichInput[{{0, 0, -(2 π/3)}, 1}]GTWhichInput[〈C3z, {0, 0, 0}〉]Generalizations & Extensions (1)
GTWhichInput also works for lists of symmetry elements.
GTWhichInput[{Ee, {{-(1/2), (Sqrt[3]/2), 0}, {-(Sqrt[3]/2), -(1/2), 0}, {0, 0, 1}}, {-(1/2), {0, 0, (Sqrt[3]/2)}}, {{0, 0, -(2 π/3)}, 1}, 〈C3z, {0, 0, 0}〉}]Related Guides
-
▪
- Basic