GTGetQuaternion
  • See Also
    • GTGetEulerAngles
    • GTGetMatrix
    • GTGetSymbol
    • GTEulerAnglesQ
    • GTInstallAxis
    • GTQuaternionQ
    • GTGetRotationMatrix
    • GTGetSU2Matrix
    • GTReinstallAxes
    • GTSU2Matrix
    • GTSymbolQ
    • GTType
    • GTWhichInput
    • GTWhichOutput
  • Related Guides
    • Basic
  • Tech Notes
    • Handling of symmetry elements: multiplication, symbols, matrices, etc.
    • See Also
      • GTGetEulerAngles
      • GTGetMatrix
      • GTGetSymbol
      • GTEulerAnglesQ
      • GTInstallAxis
      • GTQuaternionQ
      • GTGetRotationMatrix
      • GTGetSU2Matrix
      • GTReinstallAxes
      • GTSU2Matrix
      • GTSymbolQ
      • GTType
      • GTWhichInput
      • GTWhichOutput
    • Related Guides
      • Basic
    • Tech Notes
      • Handling of symmetry elements: multiplication, symbols, matrices, etc.

GTGetQuaternion[symmetry element]

gives the quaternion corresponding to a symmetry element.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Generalizations & Extensions  
See Also
Tech Notes
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTGetEulerAngles
    • GTGetMatrix
    • GTGetSymbol
    • GTEulerAnglesQ
    • GTInstallAxis
    • GTQuaternionQ
    • GTGetRotationMatrix
    • GTGetSU2Matrix
    • GTReinstallAxes
    • GTSU2Matrix
    • GTSymbolQ
    • GTType
    • GTWhichInput
    • GTWhichOutput
  • Related Guides
    • Basic
  • Tech Notes
    • Handling of symmetry elements: multiplication, symbols, matrices, etc.
    • See Also
      • GTGetEulerAngles
      • GTGetMatrix
      • GTGetSymbol
      • GTEulerAnglesQ
      • GTInstallAxis
      • GTQuaternionQ
      • GTGetRotationMatrix
      • GTGetSU2Matrix
      • GTReinstallAxes
      • GTSU2Matrix
      • GTSymbolQ
      • GTType
      • GTWhichInput
      • GTWhichOutput
    • Related Guides
      • Basic
    • Tech Notes
      • Handling of symmetry elements: multiplication, symbols, matrices, etc.
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 all

Basic Examples  (4)

First, load the package:

Wolfram Language code: Needs["GroupTheory`"]

Then run the example:

Wolfram Language code: GTGetQuaternion[C3z]

Input of Euler angles:

Wolfram Language code: GTGetQuaternion[{{0, 0, -(2 π/3)}, 1}]

Input of a matrix:

Wolfram Language code: 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:

Wolfram Language code: GTGetQuaternion[{-(1/2), {0, 0, (Sqrt[3]/2)}}]

Generalizations & Extensions  (2)

The command applies to lists.

Wolfram Language code: GTGetQuaternion[{Ee, C3z, C3zi}]

Lists of mixed form are possible.

Wolfram Language code: GTGetQuaternion[{Ee, {-(1/2), {0, 0, (Sqrt[3]/2)}}, C3zi}]

See Also

GTGetEulerAngles  GTGetMatrix  GTGetSymbol  GTEulerAnglesQ  GTInstallAxis  GTQuaternionQ  GTGetRotationMatrix  GTGetSU2Matrix  GTReinstallAxes  GTSU2Matrix  GTSymbolQ  GTType  GTWhichInput  GTWhichOutput

Tech Notes

    ▪
  • Handling of symmetry elements: multiplication, symbols, matrices, etc.

Related Guides

    ▪
  • Basic
Not Found - Wolfram Cloud