A container for the four basis unit quaternions. More...
#include <Complex.hpp>
Public Types | |
using | R = UnderlyingRealType< T > |
Static Public Attributes | |
constexpr static Quaternion< R > | one = {{o, z}, {z, z}} |
constexpr static Quaternion< R > | i = {{z, o}, {z, z}} |
constexpr static Quaternion< R > | j = {{z, z}, {o, z}} |
constexpr static Quaternion< R > | k = {{z, z}, {z, o}} |
A container for the four basis unit quaternions.
They can be accessed in the following manner:
These obey the fundamental laws \( i^2 = j^2 = k^2 = ijk = -1 \).