Chemical Data Processing Library C++ API - Version 1.4.0
Classes | Namespaces | Functions
QuaternionAdapter.hpp File Reference

Provides quaternion adapter classes. More...

#include <cstddef>
#include <type_traits>
#include "CDPL/Math/Expression.hpp"
#include "CDPL/Math/VectorAssignment.hpp"
#include "CDPL/Math/TypeTraits.hpp"
#include "CDPL/Math/Functional.hpp"
#include "CDPL/Base/Exceptions.hpp"

Go to the source code of this file.

Classes

class  CDPL::Math::QuaternionVectorAdapter< Q >
 View adapter that exposes a quaternion as a 4-element vector expression (indices map to the components C1, C2, C3, C4). More...
 
struct  CDPL::Math::VectorTemporaryTraits< QuaternionVectorAdapter< Q > >
 Math::VectorTemporaryTraits specialization selecting Math::CVector as the temporary type for a Math::QuaternionVectorAdapter view. More...
 
struct  CDPL::Math::VectorTemporaryTraits< const QuaternionVectorAdapter< Q > >
 Math::VectorTemporaryTraits specialization selecting Math::CVector as the temporary type for a const Math::QuaternionVectorAdapter view. More...
 

Namespaces

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

Functions

template<typename E >
QuaternionVectorAdapter< E > CDPL::Math::vec (QuaternionExpression< E > &e)
 Creates a mutable Math::QuaternionVectorAdapter view of the quaternion expression e. More...
 
template<typename E >
QuaternionVectorAdapter< const E > CDPL::Math::vec (const QuaternionExpression< E > &e)
 Creates a constant Math::QuaternionVectorAdapter view of the quaternion expression e. More...
 

Detailed Description

Provides quaternion adapter classes.