Go to the documentation of this file.
6 #ifndef OPENMPCD_UTILITY_MATHEMATICALFUNCTIONS_HPP
7 #define OPENMPCD_UTILITY_MATHEMATICALFUNCTIONS_HPP
19 namespace MathematicalFunctions
109 void sincos(
const T x, T*
const s, T*
const c);
134 void sincospi(
const T x, T*
const s, T*
const c);
156 #endif //OPENMPCD_UTILITY_MATHEMATICALFUNCTIONS_HPP
OPENMPCD_CUDA_HOST_AND_DEVICE T cos(const T x)
Returns the cosine of the argument.
OPENMPCD_CUDA_HOST_AND_DEVICE T cospi(const T x)
Returns the cosine of the product of the argument and .
OPENMPCD_CUDA_HOST_AND_DEVICE void sincos(const T x, T *const s, T *const c)
Computes both the sine and the cosine of the argument.
#define OPENMPCD_CUDA_HOST_AND_DEVICE
Denotes a function to be callable both from the Host and from a CUDA Device.
OPENMPCD_CUDA_HOST_AND_DEVICE void sincospi(const T x, T *const s, T *const c)
Computes both the sine and the cosine of the product of the argument and .
OPENMPCD_CUDA_HOST_AND_DEVICE T sqrt(const T x)
Returns the sqaure root of the argument.
OPENMPCD_CUDA_HOST_AND_DEVICE T sinpi(const T x)
Returns the sine of the product of the argument and .
OPENMPCD_CUDA_HOST_AND_DEVICE T acos(const T x)
Returns the arc cosine of the argument.
OPENMPCD_CUDA_HOST_AND_DEVICE T sin(const T x)
Returns the sine of the argument.