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 allclose all

Basic Examples  (4)

First, load the package:

Then run the example:

Input of Euler angles:

Input of a matrix:

Input of a quaternion results in the same quaternion:

Generalizations & Extensions  (2)

The command applies to lists.

Lists of mixed form are possible.