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

Base class for binary functors that take two matrix expressions and return a matrix-element scalar result (Math::MatrixProduct). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::MatrixBinaryFunctor< M1, M2 >:

Public Types

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

Detailed Description

template<typename M1, typename M2>
struct CDPL::Math::MatrixBinaryFunctor< M1, M2 >

Base class for binary functors that take two matrix expressions and return a matrix-element scalar result (Math::MatrixProduct).

Template Parameters
M1The first matrix expression type.
M2The second matrix expression type.

Member Typedef Documentation

◆ ValueType

template<typename M1 , typename M2 >
typedef CommonType<typename M1::ValueType, typename M2::ValueType>::Type CDPL::Math::MatrixBinaryFunctor< M1, M2 >::ValueType

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

◆ SizeType

template<typename M1 , typename M2 >
typedef CommonType<typename M1::SizeType, typename M2::SizeType>::Type CDPL::Math::MatrixBinaryFunctor< M1, M2 >::SizeType

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

◆ ResultType

template<typename M1 , typename M2 >
typedef ValueType CDPL::Math::MatrixBinaryFunctor< M1, M2 >::ResultType

The scalar result type (alias for ValueType).


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