GroupTheory`
GroupTheory`

GTQPolar

GTQPolar[q]

gives the polar angle of the quaternion q.

Details and Options

  • In trigonometric form every quaternion can be represented by q = r ((ϕ)), where is an unit vector.
  • The polar angle of the quaternion = (,(,,)) is defined by ϕ = .
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 2.1.3.

Examples

Basic Examples  (1)

First, load the package:

Then run the example: