From dfe8f0f052fffa5f36de6e2b6e11b5aafdfe4c39 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 4 Jan 2012 10:35:54 +0000 Subject: [PATCH] do not implement quaternion multiplication, because it is already implemented in the base class [[Imported from SVN: r8342]] --- dune/gfe/rotation.hh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dune/gfe/rotation.hh b/dune/gfe/rotation.hh index f05cb2c2..ff76ed67 100644 --- a/dune/gfe/rotation.hh +++ b/dune/gfe/rotation.hh @@ -208,17 +208,6 @@ public: return id; } - /** \brief Right multiplication */ - Rotation<T,3> mult(const Rotation<T,3>& other) const { - Rotation<T,3> q; - q[0] = (*this)[3]*other[0] - (*this)[2]*other[1] + (*this)[1]*other[2] + (*this)[0]*other[3]; - q[1] = (*this)[2]*other[0] + (*this)[3]*other[1] - (*this)[0]*other[2] + (*this)[1]*other[3]; - q[2] = - (*this)[1]*other[0] + (*this)[0]*other[1] + (*this)[3]*other[2] + (*this)[2]*other[3]; - q[3] = - (*this)[0]*other[0] - (*this)[1]*other[1] - (*this)[2]*other[2] + (*this)[3]*other[3]; - - return q; - } - /** \brief The exponential map from \f$ \mathfrak{so}(3) \f$ to \f$ SO(3) \f$ */ static Rotation<T,3> exp(const SkewMatrix<T,3>& v) { -- GitLab