Quaternions`
Quaternions`

ToQuaternion

ToQuaternion[q]

transforms q into a Quaternion object if possible.

Details