next up previous contents index
Next: Module rigidbody_module Up: Module quaternions_module Previous: Function orientation   Contents   Index

Function rotation_matrix


\begin{boxedminipage}{\textwidth}
\begin{verbatim}A = rotation_matrix(q_in)\end{verbatim}
\end{boxedminipage}

Return the equivalent rotation matrix of a (unit) quaternion

q_in -- type(Quaternion), intent(in)

Return value -- real(dp), dimension(3,3)

rigidbody_module module

gabor 2009-06-30