Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | List of all members
CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 > Struct Template Reference

Base class for per-component ternary functors that take a scalar T1 (lhs), a quaternion expression, and a scalar T2 (Math::ScalarQuaternionDivision). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 >:

Public Types

typedef CommonType< typename CommonType< T1, typename Q::ValueType >::Type, T2 >::Type ResultType
 The component result type (common type of T1, the quaternion's element value type, and T2). More...
 
typedef const T1 & Argument1Type
 The first (scalar) argument type. More...
 
typedef const T2 & Argument3Type
 The third (scalar) argument type. More...
 

Detailed Description

template<typename T1, typename Q, typename T2>
struct CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 >

Base class for per-component ternary functors that take a scalar T1 (lhs), a quaternion expression, and a scalar T2 (Math::ScalarQuaternionDivision).

Template Parameters
T1The scalar type on the left-hand side.
QThe quaternion expression type.
T2The scalar type on the right-hand side.

Member Typedef Documentation

◆ ResultType

template<typename T1 , typename Q , typename T2 >
typedef CommonType<typename CommonType<T1, typename Q::ValueType>::Type, T2>::Type CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 >::ResultType

The component result type (common type of T1, the quaternion's element value type, and T2).

◆ Argument1Type

template<typename T1 , typename Q , typename T2 >
typedef const T1& CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 >::Argument1Type

The first (scalar) argument type.

◆ Argument3Type

template<typename T1 , typename Q , typename T2 >
typedef const T2& CDPL::Math::Scalar13QuaternionTernaryFunctor< T1, Q, T2 >::Argument3Type

The third (scalar) argument type.


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