![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Per-component functor returning \( e - t \) (scalar t subtracted from the real component of e). More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::Scalar2QuaternionSubtraction< Q, T >:Public Types | |
| typedef Scalar2QuaternionBinaryFunctor< Q, T >::Argument2Type | Argument2Type |
| typedef Scalar2QuaternionBinaryFunctor< Q, T >::ResultType | ResultType |
Public Types inherited from CDPL::Math::Scalar2QuaternionBinaryFunctor< Q, T > | |
| typedef CommonType< typename Q::ValueType, T >::Type | ResultType |
| The component result type (common type of the quaternion's element value type and the scalar). More... | |
| typedef const T & | Argument2Type |
| The second (scalar) argument type. More... | |
Static Public Member Functions | |
| template<typename E > | |
| static ResultType | applyC1 (const QuaternionExpression< E > &e, Argument2Type t) |
Returns the C1 component of \( e - t \). More... | |
| template<typename E > | |
| static ResultType | applyC2 (const QuaternionExpression< E > &e, Argument2Type) |
Returns the C2 component of \( e - t \). More... | |
| template<typename E > | |
| static ResultType | applyC3 (const QuaternionExpression< E > &e, Argument2Type) |
Returns the C3 component of \( e - t \). More... | |
| template<typename E > | |
| static ResultType | applyC4 (const QuaternionExpression< E > &e, Argument2Type) |
Returns the C4 component of \( e - t \). More... | |
Per-component functor returning \( e - t \) (scalar t subtracted from the real component of e).
| Q | The quaternion expression type. |
| T | The scalar type. |
| typedef Scalar2QuaternionBinaryFunctor<Q, T>::Argument2Type CDPL::Math::Scalar2QuaternionSubtraction< Q, T >::Argument2Type |
| typedef Scalar2QuaternionBinaryFunctor<Q, T>::ResultType CDPL::Math::Scalar2QuaternionSubtraction< Q, T >::ResultType |
|
inlinestatic |
Returns the C1 component of \( e - t \).
| E | The quaternion expression type. |
| e | The quaternion expression on the left-hand side. |
| t | The scalar value on the right-hand side. |
e.getC1() - t.
|
inlinestatic |
Returns the C2 component of \( e - t \).
| E | The quaternion expression type. |
| e | The quaternion expression on the left-hand side. |
e.getC2() (the scalar argument does not contribute to this component).
|
inlinestatic |
Returns the C3 component of \( e - t \).
| E | The quaternion expression type. |
| e | The quaternion expression on the left-hand side. |
e.getC3() (the scalar argument does not contribute to this component).
|
inlinestatic |
Returns the C4 component of \( e - t \).
| E | The quaternion expression type. |
| e | The quaternion expression on the left-hand side. |
e.getC4() (the scalar argument does not contribute to this component).