![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Per-component functor returning the Hamilton product \( e_1 \cdot e_2 \) of two quaternion expressions. More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::QuaternionProduct< Q1, Q2 >:Public Types | |
| typedef QuaternionBinaryFunctor< Q1, Q2 >::ResultType | ResultType |
Public Types inherited from CDPL::Math::QuaternionBinaryFunctor< Q1, Q2 > | |
| typedef CommonType< typename Q1::ValueType, typename Q2::ValueType >::Type | ResultType |
| The component result type (common type of the two quaternion element types). More... | |
Static Public Member Functions | |
| template<typename E1 , typename E2 > | |
| static ResultType | applyC1 (const QuaternionExpression< E1 > &e1, const QuaternionExpression< E2 > &e2) |
Returns the C1 component of the Hamilton product \( e_1 \cdot e_2 \). More... | |
| template<typename E1 , typename E2 > | |
| static ResultType | applyC2 (const QuaternionExpression< E1 > &e1, const QuaternionExpression< E2 > &e2) |
Returns the C2 component of the Hamilton product \( e_1 \cdot e_2 \). More... | |
| template<typename E1 , typename E2 > | |
| static ResultType | applyC3 (const QuaternionExpression< E1 > &e1, const QuaternionExpression< E2 > &e2) |
Returns the C3 component of the Hamilton product \( e_1 \cdot e_2 \). More... | |
| template<typename E1 , typename E2 > | |
| static ResultType | applyC4 (const QuaternionExpression< E1 > &e1, const QuaternionExpression< E2 > &e2) |
Returns the C4 component of the Hamilton product \( e_1 \cdot e_2 \). More... | |
Per-component functor returning the Hamilton product \( e_1 \cdot e_2 \) of two quaternion expressions.
| Q1 | The first quaternion expression type. |
| Q2 | The second quaternion expression type. |
| typedef QuaternionBinaryFunctor<Q1, Q2>::ResultType CDPL::Math::QuaternionProduct< Q1, Q2 >::ResultType |
|
inlinestatic |
Returns the C1 component of the Hamilton product \( e_1 \cdot e_2 \).
| E1 | The first quaternion expression type. |
| E2 | The second quaternion expression type. |
| e1 | The first quaternion expression. |
| e2 | The second quaternion expression. |
C1 component of the Hamilton product.
|
inlinestatic |
Returns the C2 component of the Hamilton product \( e_1 \cdot e_2 \).
| E1 | The first quaternion expression type. |
| E2 | The second quaternion expression type. |
| e1 | The first quaternion expression. |
| e2 | The second quaternion expression. |
C2 component of the Hamilton product.
|
inlinestatic |
Returns the C3 component of the Hamilton product \( e_1 \cdot e_2 \).
| E1 | The first quaternion expression type. |
| E2 | The second quaternion expression type. |
| e1 | The first quaternion expression. |
| e2 | The second quaternion expression. |
C3 component of the Hamilton product.
|
inlinestatic |
Returns the C4 component of the Hamilton product \( e_1 \cdot e_2 \).
| E1 | The first quaternion expression type. |
| E2 | The second quaternion expression type. |
| e1 | The first quaternion expression. |
| e2 | The second quaternion expression. |
C4 component of the Hamilton product.