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

Base class for binary functors that take a quaternion expression and a vector expression and return a vector-element scalar (Math::QuaternionVectorRotation). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::QuaternionVectorBinaryFunctor< Q, V >:

Public Types

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

Detailed Description

template<typename Q, typename V>
struct CDPL::Math::QuaternionVectorBinaryFunctor< Q, V >

Base class for binary functors that take a quaternion expression and a vector expression and return a vector-element scalar (Math::QuaternionVectorRotation).

Template Parameters
QThe quaternion expression type.
VThe vector expression type.

Member Typedef Documentation

◆ ValueType

template<typename Q , typename V >
typedef CommonType<typename Q::ValueType, typename V::ValueType>::Type CDPL::Math::QuaternionVectorBinaryFunctor< Q, V >::ValueType

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

◆ SizeType

template<typename Q , typename V >
typedef V::SizeType CDPL::Math::QuaternionVectorBinaryFunctor< Q, V >::SizeType

The unsigned size type used by the vector.

◆ ResultType

template<typename Q , typename V >
typedef ValueType CDPL::Math::QuaternionVectorBinaryFunctor< Q, V >::ResultType

The scalar result type (alias for ValueType).


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