GTWhichInput
  • See Also
    • GTGetEulerAngles
    • GTGetMatrix
    • GTGetQuaternion
    • GTGetSymbol
    • GTgmat
    • GTSetMultiplication
    • GTType
    • GTWhichOutput
  • Related Guides
    • Basic
    • See Also
      • GTGetEulerAngles
      • GTGetMatrix
      • GTGetQuaternion
      • GTGetSymbol
      • GTgmat
      • GTSetMultiplication
      • GTType
      • GTWhichOutput
    • Related Guides
      • Basic

GTWhichInput[symmetry element]

determines the type of a symmetry element (Symbol, Matrix, Quaternion, Euler Angles or space group elements).

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Generalizations & Extensions  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTGetEulerAngles
    • GTGetMatrix
    • GTGetQuaternion
    • GTGetSymbol
    • GTgmat
    • GTSetMultiplication
    • GTType
    • GTWhichOutput
  • Related Guides
    • Basic
    • See Also
      • GTGetEulerAngles
      • GTGetMatrix
      • GTGetQuaternion
      • GTGetSymbol
      • GTgmat
      • GTSetMultiplication
      • GTType
      • GTWhichOutput
    • Related Guides
      • Basic
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 all

Basic Examples  (5)

First, load the package:

Wolfram Language code: Needs["GroupTheory`"]
Wolfram Language code: GTWhichInput[C3z]
Wolfram Language code: GTWhichInput[{{-(1/2), (Sqrt[3]/2), 0}, {-(Sqrt[3]/2), -(1/2), 0}, {0, 0, 1}}]
Wolfram Language code: GTWhichInput[{-(1/2), {0, 0, (Sqrt[3]/2)}}]
Wolfram Language code: GTWhichInput[{{0, 0, -(2 π/3)}, 1}]
Wolfram Language code: GTWhichInput[〈C3z, {0, 0, 0}〉]

Generalizations & Extensions  (1)

GTWhichInput also works for lists of symmetry elements.

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

See Also

GTGetEulerAngles  GTGetMatrix  GTGetQuaternion  GTGetSymbol  GTgmat  GTSetMultiplication  GTType  GTWhichOutput

Related Guides

    ▪
  • Basic
Not Found - Wolfram Cloud