|
| template<typename T > |
| constexpr std::enable_if_t< std::is_floating_point_v< T >, T > | pi () |
| |
| __host__ __device__ double | cospi (double x) |
| | Return cos(x*pi) given x.
|
| |
| __host__ __device__ float | cospi (float x) |
| | Return cos(x*pi) given x.
|
| |
| __host__ __device__ double | sinpi (double x) |
| | Return sin(x*pi) given x.
|
| |
| __host__ __device__ float | sinpi (float x) |
| | Return sin(x*pi) given x.
|
| |
| __host__ __device__ std::pair< double, double > | sincos (double x) |
| | Return sine and cosine of given number.
|
| |
| __host__ __device__ std::pair< float, float > | sincos (float x) |
| | Return sine and cosine of given number.
|
| |
| __host__ __device__ std::pair< double, double > | sincospi (double x) |
| | Return sin(pi*x) and cos(pi*x) given x.
|
| |
| __host__ __device__ std::pair< float, float > | sincospi (float x) |
| | Return sin(pi*x) and cos(pi*x) given x.
|
| |
| template<int Power, typename T , typename = std::enable_if_t<!std::is_integral<T>() || Power>=0> |
| constexpr T | powi (T x) noexcept |
| | Return pow(x, Power), where Power is an integer known at compile time.
|
| |
| template<typename T > |
| __host__ __device__ T | comp_ellint_1 (T k) |
| |
| template<typename T > |
| __host__ __device__ T | comp_ellint_2 (T k) |
| |
| __host__ __device__ double | rsqrt (double x) |
| | Return inverse square root of x.
|
| |
| __host__ __device__ float | rsqrt (float x) |
| | Return inverse square root of x.
|
| |