Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar > Struct Template Reference

#include <src/eigen/Eigen/src/Geometry/Quaternion.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC 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>
struct Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar >

Member Function Documentation

◆ run()

template<int Arch, class Derived1 , class Derived2 , typename Scalar >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< Scalar > Eigen::internal::quat_product< Arch, Derived1, Derived2, Scalar >::run ( const QuaternionBase< Derived1 > &  a,
const QuaternionBase< Derived2 > &  b 
)
inlinestatic
433 {
434 return Quaternion<Scalar>
435 (
436 a.w() * b.w() - a.x() * b.x() - a.y() * b.y() - a.z() * b.z(),
437 a.w() * b.x() + a.x() * b.w() + a.y() * b.z() - a.z() * b.y(),
438 a.w() * b.y() + a.y() * b.w() + a.z() * b.x() - a.x() * b.z(),
439 a.w() * b.z() + a.z() * b.w() + a.x() * b.y() - a.y() * b.x()
440 );
441 }

The documentation for this struct was generated from the following file: