C++ signal processing
Inverse rotation.
Quaternion inv() const
\[ q^{-1} = \left(\begin{array}{c}q_0\\ -q_1\\ -q_2 \\-q_3\end{array}\right) \]