Chemical Data Processing Library C++ API - Version 1.1.1
Classes | Namespaces | Typedefs | Functions
Quaternion.hpp File Reference

Definition of quaternion data types. More...

#include <algorithm>
#include <utility>
#include <type_traits>
#include "CDPL/Math/QuaternionExpression.hpp"
#include "CDPL/Math/QuaternionAssignment.hpp"
#include "CDPL/Math/Functional.hpp"
#include "CDPL/Math/TypeTraits.hpp"

Go to the source code of this file.

Classes

class  CDPL::Math::QuaternionReference< Q >
 
class  CDPL::Math::Quaternion< T >
 
class  CDPL::Math::RealQuaternion< T >
 
struct  CDPL::Math::QuaternionTemporaryTraits< const QuaternionReference< Q > >
 
struct  CDPL::Math::QuaternionTemporaryTraits< QuaternionReference< Q > >
 

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Math
 Contains classes and functions related to mathematics.
 

Typedefs

typedef Quaternion< float > CDPL::Math::FQuaternion
 
typedef Quaternion< doubleCDPL::Math::DQuaternion
 
typedef Quaternion< long > CDPL::Math::LQuaternion
 
typedef Quaternion< unsigned long > CDPL::Math::ULQuaternion
 
typedef RealQuaternion< float > CDPL::Math::FRealQuaternion
 
typedef RealQuaternion< doubleCDPL::Math::DRealQuaternion
 
typedef RealQuaternion< long > CDPL::Math::LRealQuaternion
 
typedef RealQuaternion< unsigned long > CDPL::Math::ULRealQuaternion
 

Functions

template<typename T >
std::enable_if< IsScalar< T >::value, RealQuaternion< T > >::type CDPL::Math::quat (const T &t)
 
template<typename T1 , typename T2 >
Quaternion< typename CommonType< T1, T2 >::Type > CDPL::Math::quat (const T1 &t1, const T2 &t2)
 
template<typename T1 , typename T2 , typename T3 >
Quaternion< typename CommonType< typename CommonType< T1, T2 >::Type, T3 >::Type > CDPL::Math::quat (const T1 &t1, const T2 &t2, const T3 &t3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
Quaternion< typename CommonType< typename CommonType< typename CommonType< T1, T2 >::Type, T3 >::Type, T4 >::Type > CDPL::Math::quat (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4)
 

Detailed Description

Definition of quaternion data types.