![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Per-component functor returning the quaternion conjugate (keeps C1, negates C2/
More...C3/.C4)
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::QuaternionConjugate< Q >:Public Types | |
| typedef QuaternionUnaryFunctor< Q >::ResultType | ResultType |
Public Types inherited from CDPL::Math::QuaternionUnaryFunctor< Q > | |
| typedef Q::ValueType | ResultType |
| The component result type (the quaternion's element value type). More... | |
Static Public Member Functions | |
| template<typename E > | |
| static ResultType | applyC1 (const QuaternionExpression< E > &e) |
Returns the C1 component of the conjugate (equals e.getC1()). More... | |
| template<typename E > | |
| static ResultType | applyC2 (const QuaternionExpression< E > &e) |
Returns the C2 component of the conjugate (equals -e.getC2()). More... | |
| template<typename E > | |
| static ResultType | applyC3 (const QuaternionExpression< E > &e) |
Returns the C3 component of the conjugate (equals -e.getC3()). More... | |
| template<typename E > | |
| static ResultType | applyC4 (const QuaternionExpression< E > &e) |
Returns the C4 component of the conjugate (equals -e.getC4()). More... | |
Per-component functor returning the quaternion conjugate (keeps C1, negates C2/ C3/.C4)
| Q | The quaternion expression type. |
| typedef QuaternionUnaryFunctor<Q>::ResultType CDPL::Math::QuaternionConjugate< Q >::ResultType |
|
inlinestatic |
Returns the C1 component of the conjugate (equals e.getC1()).
| E | The quaternion expression type. |
| e | The quaternion expression. |
e.getC1().
|
inlinestatic |
Returns the C2 component of the conjugate (equals -e.getC2()).
| E | The quaternion expression type. |
| e | The quaternion expression. |
-e.getC2().
|
inlinestatic |
Returns the C3 component of the conjugate (equals -e.getC3()).
| E | The quaternion expression type. |
| e | The quaternion expression. |
-e.getC3().
|
inlinestatic |
Returns the C4 component of the conjugate (equals -e.getC4()).
| E | The quaternion expression type. |
| e | The quaternion expression. |
-e.getC4().