next up previous contents index
Next: Function rotation Up: Module quaternions_module Previous: Interface print   Contents   Index

Subroutine rotation_parameters


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call rotation_parameters(q,theta,axis)\end{verbatim}
\end{boxedminipage}

Returns the angle and rotation axis of a (normalised) quaternion

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

theta -- real(dp), intent(out)

axis -- real(dp), dimension(3), intent(out)

rotation function

gabor 2009-06-30