GroupTheory`
GroupTheory`

GTWhichOutput

GTWhichOutput[symmetry element, type index]

transforms an symmetry element to either a symbol, a matrix, a quaternion, a set of Euler Angles or a space group element, according to the given type index.

Details and Options

  • symmetry element can be transformed according to the following values of type index:
  • 1: the output will be a symbol
  • 2: the output will be a matrix
  • 3: the output will be a quaternion
  • 4: the output will be a set of Euler angles
  • 5: the output will be a space group element
  • GTWhichOutput also works for lists of elements.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica.

Examples

open allclose all

Basic Examples  (5)

First, load the package:

Generalizations & Extensions  (1)

GTWhichOutput also works for lists of elements.