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

Implementation of quaternion assignment routines. More...

#include <utility>

Go to the source code of this file.

Namespaces

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

Functions

template<template< typename T1, typename T2 > class F, typename Q , typename E >
void CDPL::Math::quaternionAssignQuaternion (Q &q, const QuaternionExpression< E > &e)
 Applies the binary functor F componentwise between the destination quaternion q and the source quaternion expression e. More...
 
template<template< typename T1, typename T2 > class F, typename Q , typename T >
void CDPL::Math::quaternionAssignScalar (Q &q, const T &t)
 Applies the element-wise functor F to every (quaternion component, scalar) pair. More...
 
template<typename Q , typename E >
void CDPL::Math::quaternionSwap (Q &q, QuaternionExpression< E > &e)
 Swaps the components of two quaternion expressions component by component. More...
 

Detailed Description

Implementation of quaternion assignment routines.