OpenMPCD
Namespaces | Functions
MathematicalFunctions.hpp File Reference
#include <OpenMPCD/CUDA/Macros.hpp>
#include <OpenMPCD/Utility/ImplementationDetails/MathematicalFunctions.hpp>
Include dependency graph for MathematicalFunctions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenMPCD::Utility
 Holds utility functionality.
 
 OpenMPCD::Utility::MathematicalFunctions
 Defines common mathematical functions.
 

Functions

template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::acos (const T x)
 Returns the arc cosine of the argument. More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::cos (const T x)
 Returns the cosine of the argument. More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::cospi (const T x)
 Returns the cosine of the product of the argument and \( \pi \). More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::sin (const T x)
 Returns the sine of the argument. More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::sinpi (const T x)
 Returns the sine of the product of the argument and \( \pi \). More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICE void OpenMPCD::Utility::MathematicalFunctions::sincos (const T x, T *const s, T *const c)
 Computes both the sine and the cosine of the argument. More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICE void OpenMPCD::Utility::MathematicalFunctions::sincospi (const T x, T *const s, T *const c)
 Computes both the sine and the cosine of the product of the argument and \( \pi \). More...
 
template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEOpenMPCD::Utility::MathematicalFunctions::sqrt (const T x)
 Returns the sqaure root of the argument. More...
 

Detailed Description

Declares common mathematical functions.

Definition in file MathematicalFunctions.hpp.