![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Functor checking component-wise approximate equality of two quaternion expressions within an absolute tolerance. More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::QuaternionToleranceEquality< Q1, Q2, T >:Public Types | |
| typedef Scalar3QuaternionBooleanTernaryFunctor< Q1, Q2, T >::ValueType | ValueType |
| typedef Scalar3QuaternionBooleanTernaryFunctor< Q1, Q2, T >::ResultType | ResultType |
| typedef Scalar3QuaternionBooleanTernaryFunctor< Q1, Q2, T >::Argument3Type | Argument3Type |
Public Types inherited from CDPL::Math::Scalar3QuaternionBooleanTernaryFunctor< Q1, Q2, T > | |
| typedef bool | ResultType |
| The boolean result type. More... | |
| typedef const T & | Argument3Type |
| The third (scalar) argument type. More... | |
| typedef CommonType< typename Q1::ValueType, typename Q2::ValueType >::Type | ValueType |
| The component value type (common type of the two quaternion element types). More... | |
Static Public Member Functions | |
| static ResultType | apply (const QuaternionExpression< Q1 > &e1, const QuaternionExpression< Q2 > &e2, Argument3Type epsilon) |
| Tells whether e1 and e2 agree component-wise within the absolute tolerance epsilon. More... | |
Functor checking component-wise approximate equality of two quaternion expressions within an absolute tolerance.
| Q1 | The first quaternion expression type. |
| Q2 | The second quaternion expression type. |
| T | The tolerance scalar type. |
| typedef Scalar3QuaternionBooleanTernaryFunctor<Q1, Q2, T>::ValueType CDPL::Math::QuaternionToleranceEquality< Q1, Q2, T >::ValueType |
| typedef Scalar3QuaternionBooleanTernaryFunctor<Q1, Q2, T>::ResultType CDPL::Math::QuaternionToleranceEquality< Q1, Q2, T >::ResultType |
| typedef Scalar3QuaternionBooleanTernaryFunctor<Q1, Q2, T>::Argument3Type CDPL::Math::QuaternionToleranceEquality< Q1, Q2, T >::Argument3Type |
|
inlinestatic |
Tells whether e1 and e2 agree component-wise within the absolute tolerance epsilon.
| e1 | The first quaternion expression. |
| e2 | The second quaternion expression. |
| epsilon | The non-negative absolute tolerance. |
true if all four components agree within epsilon, and false otherwise.