next up previous contents index
Next: Usage Up: Module quaternions_module Previous: Module quaternions_module   Contents   Index

Purpose

Implementation of quaternion algebra. Primarily for use with rigid body dynamics, although the Orientation, Rotation and Rotate routines can be useful in many other situations.


\begin{displaymath}
\begin{array}{c}
i^2 = j^2 = k^2 = ijk = -1 \\
ij = k \quad jk = i \quad ki = j
\end{array}\end{displaymath}



gabor 2009-06-30