Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | List of all members
CDPL::Math::VectorScalarUnaryFunctor< V > Struct Template Reference

Base class for unary functors that take a vector and return a scalar (Math::VectorElementSum). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::VectorScalarUnaryFunctor< V >:

Public Types

typedef V::ValueType ResultType
 The scalar result type (the vector's element value type). More...
 
typedef V::SizeType SizeType
 The unsigned size type used by the vector. More...
 

Detailed Description

template<typename V>
struct CDPL::Math::VectorScalarUnaryFunctor< V >

Base class for unary functors that take a vector and return a scalar (Math::VectorElementSum).

Template Parameters
VThe vector expression type.

Member Typedef Documentation

◆ ResultType

template<typename V >
typedef V::ValueType CDPL::Math::VectorScalarUnaryFunctor< V >::ResultType

The scalar result type (the vector's element value type).

◆ SizeType

template<typename V >
typedef V::SizeType CDPL::Math::VectorScalarUnaryFunctor< V >::SizeType

The unsigned size type used by the vector.


The documentation for this struct was generated from the following file: