MOAB  4.9.3pre
Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar, _Options > Struct Template Reference

#include <Quaternion.h>

List of all members.

Static Public Member Functions

static EIGEN_STRONG_INLINE
Quaternion< Scalar > 
run (const QuaternionBase< Derived1 > &a, const QuaternionBase< Derived2 > &b)

Detailed Description

template<int Arch, class Derived1, class Derived2, typename Scalar, int _Options>
struct Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar, _Options >

Definition at line 424 of file Quaternion.h.


Member Function Documentation

template<int Arch, class Derived1 , class Derived2 , typename Scalar , int _Options>
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()
    );
  }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines