GTGetMatrix
  • See Also
    • GTGetEulerAngles
    • GTGetQuaternion
    • GTGetSymbol
    • GTgmat
    • GTInstallAxis
    • GTInverseElement
    • GTEulerAnglesQ
    • GTQuaternionQ
    • GTGetRotationMatrix
    • GTGetSU2Matrix
    • GTReinstallAxes
    • GTSU2Matrix
    • GTSymbolQ
    • GTType
    • GTWhichInput
    • GTWhichOutput
    • GTDiracMatrix
  • Related Guides
    • Basic
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Standard Representations – O(3), SU(2), SU(2)xS
    • Handling of symmetry elements: multiplication, symbols, matrices, etc.
    • See Also
      • GTGetEulerAngles
      • GTGetQuaternion
      • GTGetSymbol
      • GTgmat
      • GTInstallAxis
      • GTInverseElement
      • GTEulerAnglesQ
      • GTQuaternionQ
      • GTGetRotationMatrix
      • GTGetSU2Matrix
      • GTReinstallAxes
      • GTSU2Matrix
      • GTSymbolQ
      • GTType
      • GTWhichInput
      • GTWhichOutput
      • GTDiracMatrix
    • Related Guides
      • Basic
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Standard Representations – O(3), SU(2), SU(2)xS
      • Handling of symmetry elements: multiplication, symbols, matrices, etc.

GTGetMatrix[symmetry element]

gives a matrix 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
    • GTGetQuaternion
    • GTGetSymbol
    • GTgmat
    • GTInstallAxis
    • GTInverseElement
    • GTEulerAnglesQ
    • GTQuaternionQ
    • GTGetRotationMatrix
    • GTGetSU2Matrix
    • GTReinstallAxes
    • GTSU2Matrix
    • GTSymbolQ
    • GTType
    • GTWhichInput
    • GTWhichOutput
    • GTDiracMatrix
  • Related Guides
    • Basic
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Standard Representations – O(3), SU(2), SU(2)xS
    • Handling of symmetry elements: multiplication, symbols, matrices, etc.
    • See Also
      • GTGetEulerAngles
      • GTGetQuaternion
      • GTGetSymbol
      • GTgmat
      • GTInstallAxis
      • GTInverseElement
      • GTEulerAnglesQ
      • GTQuaternionQ
      • GTGetRotationMatrix
      • GTGetSU2Matrix
      • GTReinstallAxes
      • GTSU2Matrix
      • GTSymbolQ
      • GTType
      • GTWhichInput
      • GTWhichOutput
      • GTDiracMatrix
    • Related Guides
      • Basic
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Standard Representations – O(3), SU(2), SU(2)xS
      • Handling of symmetry elements: multiplication, symbols, matrices, etc.
GroupTheory`
GroupTheory`

GTGetMatrix

GTGetMatrix[symmetry element]

gives a matrix corresponding to a symmetry element.

Details and Options

  • According to the defined standard representation (see GTWhichRepresentation) GTGetMatrix gives either 3-dimensional rotation matrices of the group O(3), rotation matrices in spin space of the group SU(2), 2-dimensional rotation matrices of the group O(2), double group representation matrices of the group SU(2)x{1,-1} ("SU(2)xS"), or permutation matrices, if a group was installed using GTTableToGroup.
  • The input of GTGetMatrix can be of type symbol, matrix, quaternion, and Euler angles (compare GTSymbolQ, GTQuaternionQ or GTEulerAnglesQ).
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 2.1.1, 2.2.4, 5.1

Examples

open all close all

Basic Examples  (4)

First, load the package:

Wolfram Language code: Needs["GroupTheory`"]
Wolfram Language code: GTGetMatrix[C3z]//MatrixForm

Input of Euler angles:

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

Input of a quaternion:

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

Input of a matrix results in the same matrix

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

Generalizations & Extensions  (3)

The command applies to lists.

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

Lists of mixed form are possible.

Wolfram Language code: Map[MatrixForm, GTGetMatrix[{Ee, C3z//GTGetQuaternion, C3zi//GTGetEulerAngles}]]

See Also

GTGetEulerAngles  GTGetQuaternion  GTGetSymbol  GTgmat  GTInstallAxis  GTInverseElement  GTEulerAnglesQ  GTQuaternionQ  GTGetRotationMatrix  GTGetSU2Matrix  GTReinstallAxes  GTSU2Matrix  GTSymbolQ  GTType  GTWhichInput  GTWhichOutput

Tech Notes

    ▪
  • Standard Representations – O(3), SU(2), SU(2)xS
  • ▪
  • Handling of symmetry elements: multiplication, symbols, matrices, etc.

Related Guides

    ▪
  • Basic
  • ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
Not Found - Wolfram Cloud