|
| __host__ __device__ double | amrex::disabled::abs (double) |
| |
| __host__ __device__ float | amrex::disabled::abs (float) |
| |
| __host__ __device__ long double | amrex::disabled::abs (long double) |
| |
| __host__ __device__ int | amrex::disabled::abs (int) |
| |
| __host__ __device__ long | amrex::disabled::abs (long) |
| |
| __host__ __device__ long long | amrex::disabled::abs (long long) |
| |
| template<typename T > |
| constexpr std::enable_if_t< std::is_floating_point_v< T >, T > | amrex::Math::pi () |
| |
| __host__ __device__ double | amrex::Math::cospi (double x) |
| | Return cos(x*pi) given x.
|
| |
| __host__ __device__ float | amrex::Math::cospi (float x) |
| | Return cos(x*pi) given x.
|
| |
| __host__ __device__ double | amrex::Math::sinpi (double x) |
| | Return sin(x*pi) given x.
|
| |
| __host__ __device__ float | amrex::Math::sinpi (float x) |
| | Return sin(x*pi) given x.
|
| |
| void | amrex::Math::detail::sincos (double x, double *sinx, double *cosx) |
| |
| void | amrex::Math::detail::sincosf (float x, float *sinx, float *cosx) |
| |
| __host__ __device__ std::pair< double, double > | amrex::Math::sincos (double x) |
| | Return sine and cosine of given number.
|
| |
| __host__ __device__ std::pair< float, float > | amrex::Math::sincos (float x) |
| | Return sine and cosine of given number.
|
| |
| __host__ __device__ std::pair< double, double > | amrex::Math::sincospi (double x) |
| | Return sin(pi*x) and cos(pi*x) given x.
|
| |
| __host__ __device__ std::pair< float, float > | amrex::Math::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 | amrex::Math::powi (T x) noexcept |
| | Return pow(x, Power), where Power is an integer known at compile time.
|
| |
| template<typename T > |
| __host__ __device__ T | amrex::Math::comp_ellint_1 (T k) |
| |
| template<typename T > |
| __host__ __device__ T | amrex::Math::comp_ellint_2 (T k) |
| |
| __host__ __device__ double | amrex::Math::rsqrt (double x) |
| | Return inverse square root of x.
|
| |
| __host__ __device__ float | amrex::Math::rsqrt (float x) |
| | Return inverse square root of x.
|
| |