![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Base class for binary scalar functors of the form F::apply(const T1&, const T2&) returning a Math::CommonType result.
More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::ScalarBinaryFunctor< T1, T2 >:Public Types | |
| typedef const T1 & | Argument1Type |
| The first argument type. More... | |
| typedef const T2 & | Argument2Type |
| The second argument type. More... | |
| typedef CommonType< T1, T2 >::Type | ResultType |
| The result type (common type of T1 and T2). More... | |
Base class for binary scalar functors of the form F::apply(const T1&, const T2&) returning a Math::CommonType result.
Derived functors (Math::ScalarAddition, Math::ScalarSubtraction, Math::ScalarMultiplication, Math::ScalarDivision) implement specific element-wise operations.
| T1 | The first argument type. |
| T2 | The second argument type. |
| typedef const T1& CDPL::Math::ScalarBinaryFunctor< T1, T2 >::Argument1Type |
The first argument type.
| typedef const T2& CDPL::Math::ScalarBinaryFunctor< T1, T2 >::Argument2Type |
The second argument type.
| typedef CommonType<T1, T2>::Type CDPL::Math::ScalarBinaryFunctor< T1, T2 >::ResultType |
The result type (common type of T1 and T2).