OpenMPCD
|
#include <OpenMPCD/CUDA/Macros.hpp>
#include <OpenMPCD/Utility/ImplementationDetails/MathematicalFunctions.hpp>
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_DEVICE T | OpenMPCD::Utility::MathematicalFunctions::acos (const T x) |
Returns the arc cosine of the argument. More... | |
template<typename T > | |
OPENMPCD_CUDA_HOST_AND_DEVICE T | OpenMPCD::Utility::MathematicalFunctions::cos (const T x) |
Returns the cosine of the argument. More... | |
template<typename T > | |
OPENMPCD_CUDA_HOST_AND_DEVICE T | OpenMPCD::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_DEVICE T | OpenMPCD::Utility::MathematicalFunctions::sin (const T x) |
Returns the sine of the argument. More... | |
template<typename T > | |
OPENMPCD_CUDA_HOST_AND_DEVICE T | OpenMPCD::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_DEVICE T | OpenMPCD::Utility::MathematicalFunctions::sqrt (const T x) |
Returns the sqaure root of the argument. More... | |
Declares common mathematical functions.
Definition in file MathematicalFunctions.hpp.