![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Base class for unary scalar functors of the form F::apply(const T&) returning a T result.
More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::ScalarUnaryFunctor< T >:Public Types | |
| typedef T | ValueType |
| The scalar value type. More... | |
| typedef const T & | ArgumentType |
The argument type (a const reference to ValueType). More... | |
| typedef ValueType | ResultType |
| The result type of apply(). More... | |
Base class for unary scalar functors of the form F::apply(const T&) returning a T result.
Derived functors (Math::ScalarNegation, Math::ScalarConjugation, Math::ScalarReal, Math::ScalarImaginary) implement specific element-wise operations.
| T | The scalar value type. |
| typedef T CDPL::Math::ScalarUnaryFunctor< T >::ValueType |
The scalar value type.
| typedef const T& CDPL::Math::ScalarUnaryFunctor< T >::ArgumentType |
The argument type (a const reference to ValueType).
| typedef ValueType CDPL::Math::ScalarUnaryFunctor< T >::ResultType |
The result type of apply().