Multiplication of two quaterions
\begin{align} ab = &(a_1 b_1 - a_2 b_2 - a_3 b_3 - a_4 b_4) \
Define
where $a$, $b$, $c$, and $d$ are the components of a quaterion.
If we have quaternion multiplication
this can be written as matrix-vector multiplication