|
MOAB
4.9.3pre
|
#include <Quaternion.h>
Static Public Member Functions | |
| static EIGEN_STRONG_INLINE Quaternion< Scalar > | run (const QuaternionBase< Derived1 > &a, const QuaternionBase< Derived2 > &b) |
Definition at line 424 of file Quaternion.h.
| static EIGEN_STRONG_INLINE Quaternion<Scalar> Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar, _Options >::run | ( | const QuaternionBase< Derived1 > & | a, |
| const QuaternionBase< Derived2 > & | b | ||
| ) | [inline, static] |
Definition at line 426 of file Quaternion.h.
{
return Quaternion<Scalar>
(
a.w() * b.w() - a.x() * b.x() - a.y() * b.y() - a.z() * b.z(),
a.w() * b.x() + a.x() * b.w() + a.y() * b.z() - a.z() * b.y(),
a.w() * b.y() + a.y() * b.w() + a.z() * b.x() - a.x() * b.z(),
a.w() * b.z() + a.z() * b.w() + a.x() * b.y() - a.y() * b.x()
);
}