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

Base class for per-component binary functors that take a quaternion expression (lhs) and a scalar T (Math::Scalar2QuaternionAddition, Math::Scalar2QuaternionSubtraction, Math::QuaternionInverse). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::Scalar2QuaternionBinaryFunctor< Q, T >:

Public Types

typedef CommonType< typename Q::ValueType, T >::Type ResultType
 The component result type (common type of the quaternion's element value type and the scalar). More...
 
typedef const T & Argument2Type
 The second (scalar) argument type. More...
 

Detailed Description

template<typename Q, typename T>
struct CDPL::Math::Scalar2QuaternionBinaryFunctor< Q, T >

Base class for per-component binary functors that take a quaternion expression (lhs) and a scalar T (Math::Scalar2QuaternionAddition, Math::Scalar2QuaternionSubtraction, Math::QuaternionInverse).

Template Parameters
QThe quaternion expression type.
TThe scalar type.

Member Typedef Documentation

◆ ResultType

template<typename Q , typename T >
typedef CommonType<typename Q::ValueType, T>::Type CDPL::Math::Scalar2QuaternionBinaryFunctor< Q, T >::ResultType

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

◆ Argument2Type

template<typename Q , typename T >
typedef const T& CDPL::Math::Scalar2QuaternionBinaryFunctor< Q, T >::Argument2Type

The second (scalar) argument type.


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