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

Base class for binary functors that take a matrix expression and a vector expression and return a vector-element scalar result (Math::MatrixVectorProduct, Math::VectorMatrixProduct). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::MatrixVectorBinaryFunctor< M, V >:

Public Types

typedef CommonType< typename M::ValueType, typename V::ValueType >::Type ValueType
 The element value type (common type of the matrix and vector element types). More...
 
typedef CommonType< typename M::SizeType, typename V::SizeType >::Type SizeType
 The unsigned size type (common type of the matrix and vector size types). More...
 
typedef ValueType ResultType
 The scalar result type (alias for ValueType). More...
 

Detailed Description

template<typename M, typename V>
struct CDPL::Math::MatrixVectorBinaryFunctor< M, V >

Base class for binary functors that take a matrix expression and a vector expression and return a vector-element scalar result (Math::MatrixVectorProduct, Math::VectorMatrixProduct).

Template Parameters
MThe matrix expression type.
VThe vector expression type.

Member Typedef Documentation

◆ ValueType

template<typename M , typename V >
typedef CommonType<typename M::ValueType, typename V::ValueType>::Type CDPL::Math::MatrixVectorBinaryFunctor< M, V >::ValueType

The element value type (common type of the matrix and vector element types).

◆ SizeType

template<typename M , typename V >
typedef CommonType<typename M::SizeType, typename V::SizeType>::Type CDPL::Math::MatrixVectorBinaryFunctor< M, V >::SizeType

The unsigned size type (common type of the matrix and vector size types).

◆ ResultType

template<typename M , typename V >
typedef ValueType CDPL::Math::MatrixVectorBinaryFunctor< M, V >::ResultType

The scalar result type (alias for ValueType).


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