![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Functor returning the sum of the four components of a quaternion expression. More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::QuaternionElementSum< Q >:Public Types | |
| typedef QuaternionScalarUnaryFunctor< Q >::ResultType | ResultType |
Public Types inherited from CDPL::Math::QuaternionScalarUnaryFunctor< Q > | |
| typedef Q::ValueType | ResultType |
| The scalar result type (the quaternion's element value type). More... | |
Static Public Member Functions | |
| static ResultType | apply (const QuaternionExpression< Q > &e) |
| Returns the component sum of e. More... | |
Functor returning the sum of the four components of a quaternion expression.
| Q | The quaternion expression type. |
| typedef QuaternionScalarUnaryFunctor<Q>::ResultType CDPL::Math::QuaternionElementSum< Q >::ResultType |
|
inlinestatic |
Returns the component sum of e.
| e | The quaternion expression. |