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

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

#include <Functional.hpp>

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

Public Types

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

Detailed Description

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

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

Template Parameters
TThe scalar type.
QThe quaternion expression type.

Member Typedef Documentation

◆ ResultType

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

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

◆ Argument1Type

template<typename T , typename Q >
typedef const T& CDPL::Math::Scalar1QuaternionBinaryFunctor< T, Q >::Argument1Type

The first (scalar) argument type.


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