Quaternion: Difference between revisions

Line 25: Line 25:
<math>R(q*p) = R(q) \cdot R(p)</math>
<math>R(q*p) = R(q) \cdot R(p)</math>


The quaternion <math>q=(\cos(\theta/2), \hat{n}_1 \sin(\theta/2), \hat{n}_2 \sin(\theta/2), \hat{n}_3 \sin(\theta/2))</math> is equivalent to the rotation around axis <math>\hat{n}</math> by angle <math>\theta</math>.
The quaternion <math>q=(\cos(\frac{\theta}{2}), \hat{n}_1 \sin(\frac{\theta}{2}), \hat{n}_2 \sin(\frac{\theta}{2}), \hat{n}_3 \sin(\frac{\theta}{2}))=\cos(\frac{\theta}{2}) + \sin(\frac{\theta}{2}) \mathbf{\hat{n}}</math> is equivalent to the rotation around axis <math>\hat{n}</math> by angle <math>\theta</math>.


===Slurp===
===Slurp===