math Namespace Reference#
Classes | |
struct | scales |
struct | plus |
struct | minus |
struct | multiplies |
struct | maximize |
struct | minimize |
struct | integer_divide_ceiler |
struct | less |
Functions | |
template<typename X , typename Y > | |
__host__ constexpr __device__ auto | integer_divide_floor (X x, Y y) |
template<typename X , typename Y > | |
__host__ constexpr __device__ auto | integer_divide_ceil (X x, Y y) |
template<typename X , typename Y > | |
__host__ constexpr __device__ auto | integer_least_multiple (X x, Y y) |
template<typename T > | |
__host__ constexpr __device__ T | max (T x) |
template<typename T > | |
__host__ constexpr __device__ T | max (T x, T y) |
template<index_t X> | |
__host__ constexpr __device__ index_t | max (Number< X >, index_t y) |
template<index_t Y> | |
__host__ constexpr __device__ index_t | max (index_t x, Number< Y >) |
template<typename X , typename... Ys> | |
__host__ constexpr __device__ auto | max (X x, Ys... ys) |
template<typename T > | |
__host__ constexpr __device__ T | min (T x) |
template<typename T > | |
__host__ constexpr __device__ T | min (T x, T y) |
template<index_t X> | |
__host__ constexpr __device__ index_t | min (Number< X >, index_t y) |
template<index_t Y> | |
__host__ constexpr __device__ index_t | min (index_t x, Number< Y >) |
template<typename X , typename... Ys> | |
__host__ constexpr __device__ auto | min (X x, Ys... ys) |
template<typename T > | |
__host__ constexpr __device__ T | clamp (const T &x, const T &lowerbound, const T &upperbound) |
__host__ constexpr __device__ index_t | gcd (index_t x, index_t y) |
template<index_t X, index_t Y> | |
__host__ constexpr __device__ auto | gcd (Number< X >, Number< Y >) |
Y __host__ constexpr __device__ auto | lcm (X x, Y y) |
template<index_t X> | |
__host__ constexpr __device__ auto | next_power_of_two () |
template<index_t X> | |
__host__ constexpr __device__ auto | next_power_of_two (Number< X > x) |
template<typename T > | |
__host__ T | tanh (T x) |
template<> | |
__host__ float | tanh< float > (float x) |
template<> | |
__host__ double | tanh< double > (double x) |
template<typename T > | |
__host__ T | acos (T x) |
template<> | |
__host__ float | acos< float > (float x) |
template<> | |
__host__ double | acos< double > (double x) |
template<typename T > | |
__host__ T | neg (T x) |
template<> | |
__host__ float | neg< float > (float x) |
template<> | |
__host__ double | neg< double > (double x) |
template<> | |
__host__ int32_t | neg< int32_t > (int32_t x) |
template<> | |
__host__ int8_t | neg< int8_t > (int8_t x) |
template<typename T > | |
__host__ T | atan (T x) |
template<> | |
__host__ float | atan< float > (float x) |
template<> | |
__host__ double | atan< double > (double x) |
template<typename T > | |
__host__ T | sin (T x) |
template<> | |
__host__ float | sin< float > (float x) |
template<> | |
__host__ double | sin< double > (double x) |
template<typename T > | |
__host__ T | asin (T x) |
template<> | |
__host__ float | asin< float > (float x) |
template<> | |
__host__ double | asin< double > (double x) |
template<typename T > | |
__host__ T | asinh (T x) |
template<> | |
__host__ float | asinh< float > (float x) |
template<> | |
__host__ double | asinh< double > (double x) |
template<typename T > | |
__host__ T | cos (T x) |
template<> | |
__host__ float | cos< float > (float x) |
template<> | |
__host__ double | cos< double > (double x) |
template<typename T > | |
__host__ T | acosh (T x) |
template<> | |
__host__ float | acosh< float > (float x) |
template<> | |
__host__ double | acosh< double > (double x) |
template<typename T > | |
__host__ T | tan (T x) |
template<> | |
__host__ float | tan< float > (float x) |
template<> | |
__host__ double | tan< double > (double x) |
template<typename T > | |
__host__ T | atanh (T x) |
template<> | |
__host__ float | atanh< float > (float x) |
template<> | |
__host__ double | atanh< double > (double x) |
template<typename T > | |
__host__ T | sinh (T x) |
template<> | |
__host__ float | sinh< float > (float x) |
template<> | |
__host__ double | sinh< double > (double x) |
template<typename T > | |
__host__ T | ceil (T x) |
template<> | |
__host__ float | ceil< float > (float x) |
template<> | |
__host__ double | ceil< double > (double x) |
template<typename T > | |
__host__ T | cosh (T x) |
template<> | |
__host__ float | cosh< float > (float x) |
template<> | |
__host__ double | cosh< double > (double x) |
template<typename T > | |
__host__ T | floor (T x) |
template<> | |
__host__ float | floor< float > (float x) |
template<> | |
__host__ double | floor< double > (double x) |
template<typename T > | |
__host__ T | rcp (T x) |
template<typename T > | |
__host__ T | exp (T x) |
template<> | |
__host__ float | exp< float > (float x) |
template<> | |
__host__ double | exp< double > (double x) |
template<typename T > | |
__host__ T | log (T x) |
template<> | |
__host__ float | log< float > (float x) |
template<> | |
__host__ double | log< double > (double x) |
template<typename T > | |
__host__ T | pow (T x, T gamma) |
template<> | |
__host__ float | pow< float > (float x, float gamma) |
template<> | |
__host__ double | pow< double > (double x, double gamma) |
template<typename T > | |
__host__ T | expm1 (T x) |
template<> | |
__host__ float | expm1< float > (float x) |
template<> | |
__host__ double | expm1< double > (double x) |
template<typename T > | |
__device__ T | tanh (T x) |
template<typename T > | |
__device__ T | acos (T x) |
template<typename T > | |
__device__ T | neg (T x) |
template<> | |
__device__ half_t | neg< half_t > (half_t x) |
template<typename T > | |
__device__ T | atan (T x) |
template<typename T > | |
__device__ T | sin (T x) |
template<> | |
__device__ half_t | sin< half_t > (half_t x) |
template<typename T > | |
__device__ T | asin (T x) |
template<typename T > | |
__device__ T | asinh (T x) |
template<typename T > | |
__device__ T | acosh (T x) |
template<typename T > | |
__device__ T | tan (T x) |
template<typename T > | |
__device__ T | atanh (T x) |
template<typename T > | |
__device__ T | sinh (T x) |
template<typename T > | |
__device__ T | ceil (T x) |
template<> | |
__device__ half_t | ceil< half_t > (half_t x) |
template<typename T > | |
__device__ T | cosh (T x) |
template<typename T > | |
__device__ T | floor (T x) |
template<> | |
__device__ half_t | floor< half_t > (half_t x) |
template<typename T > | |
__device__ T | rcp (T x) |
template<typename T > | |
__device__ T | exp (T x) |
template<> | |
__device__ half_t | exp< half_t > (half_t x) |
template<typename T > | |
__device__ T | log (T x) |
template<> | |
__device__ half_t | log< half_t > (half_t x) |
template<typename T > | |
__device__ T | pow (T x, T gamma) |
template<typename T > | |
__device__ T | expm1 (T x) |
Function Documentation
◆ acos() [1/2]
template<typename T >
|
inline |
◆ acos() [2/2]
template<typename T >
|
inline |
◆ acos< double >()
template<>
|
inline |
◆ acos< float >()
template<>
|
inline |
◆ acosh() [1/2]
template<typename T >
|
inline |
◆ acosh() [2/2]
template<typename T >
|
inline |
◆ acosh< double >()
template<>
|
inline |
◆ acosh< float >()
template<>
|
inline |
◆ asin() [1/2]
template<typename T >
|
inline |
◆ asin() [2/2]
template<typename T >
|
inline |
◆ asin< double >()
template<>
|
inline |
◆ asin< float >()
template<>
|
inline |
◆ asinh() [1/2]
template<typename T >
|
inline |
◆ asinh() [2/2]
template<typename T >
|
inline |
◆ asinh< double >()
template<>
|
inline |
◆ asinh< float >()
template<>
|
inline |
◆ atan() [1/2]
template<typename T >
|
inline |
◆ atan() [2/2]
template<typename T >
|
inline |
◆ atan< double >()
template<>
|
inline |
◆ atan< float >()
template<>
|
inline |
◆ atanh() [1/2]
template<typename T >
|
inline |
◆ atanh() [2/2]
template<typename T >
|
inline |
◆ atanh< double >()
template<>
|
inline |
◆ atanh< float >()
template<>
|
inline |
◆ ceil() [1/2]
template<typename T >
|
inline |
◆ ceil() [2/2]
template<typename T >
|
inline |
◆ ceil< double >()
template<>
|
inline |
◆ ceil< float >()
template<>
|
inline |
◆ ceil< half_t >()
template<>
|
inline |
◆ clamp()
template<typename T >
|
constexpr |
◆ cos()
template<typename T >
|
inline |
◆ cos< double >()
template<>
|
inline |
◆ cos< float >()
template<>
|
inline |
◆ cosh() [1/2]
template<typename T >
|
inline |
◆ cosh() [2/2]
template<typename T >
|
inline |
◆ cosh< double >()
template<>
|
inline |
◆ cosh< float >()
template<>
|
inline |
◆ exp() [1/2]
template<typename T >
|
inline |
◆ exp() [2/2]
template<typename T >
|
inline |
◆ exp< double >()
template<>
|
inline |
◆ exp< float >()
template<>
|
inline |
◆ exp< half_t >()
template<>
|
inline |
◆ expm1() [1/2]
template<typename T >
|
inline |
◆ expm1() [2/2]
template<typename T >
|
inline |
◆ expm1< double >()
template<>
|
inline |
◆ expm1< float >()
template<>
|
inline |
◆ floor() [1/2]
template<typename T >
|
inline |
◆ floor() [2/2]
template<typename T >
|
inline |
◆ floor< double >()
template<>
|
inline |
◆ floor< float >()
template<>
|
inline |
◆ floor< half_t >()
template<>
|
inline |
◆ gcd() [1/2]
◆ gcd() [2/2]
template<index_t X, index_t Y>
|
constexpr |
◆ integer_divide_ceil()
template<typename X , typename Y >
|
constexpr |
◆ integer_divide_floor()
template<typename X , typename Y >
|
constexpr |
◆ integer_least_multiple()
template<typename X , typename Y >
|
constexpr |
◆ lcm()
|
constexpr |
◆ log() [1/2]
template<typename T >
|
inline |
◆ log() [2/2]
template<typename T >
|
inline |
◆ log< double >()
template<>
|
inline |
◆ log< float >()
template<>
|
inline |
◆ log< half_t >()
template<>
|
inline |
◆ max() [1/5]
template<index_t Y>
|
constexpr |
◆ max() [2/5]
template<index_t X>
|
constexpr |
◆ max() [3/5]
template<typename T >
|
constexpr |
◆ max() [4/5]
template<typename T >
|
constexpr |
◆ max() [5/5]
template<typename X , typename... Ys>
|
constexpr |
◆ min() [1/5]
template<index_t Y>
|
constexpr |
◆ min() [2/5]
template<index_t X>
|
constexpr |
◆ min() [3/5]
template<typename T >
|
constexpr |
◆ min() [4/5]
template<typename T >
|
constexpr |
◆ min() [5/5]
template<typename X , typename... Ys>
|
constexpr |
◆ neg() [1/2]
template<typename T >
|
inline |
◆ neg() [2/2]
template<typename T >
|
inline |
◆ neg< double >()
template<>
|
inline |
◆ neg< float >()
template<>
|
inline |
◆ neg< half_t >()
template<>
|
inline |
◆ neg< int32_t >()
template<>
|
inline |
◆ neg< int8_t >()
template<>
|
inline |
◆ next_power_of_two() [1/2]
template<index_t X>
|
constexpr |
◆ next_power_of_two() [2/2]
template<index_t X>
|
constexpr |
◆ pow() [1/2]
template<typename T >
|
inline |
◆ pow() [2/2]
template<typename T >
|
inline |
◆ pow< double >()
template<>
|
inline |
◆ pow< float >()
template<>
|
inline |
◆ rcp() [1/2]
template<typename T >
|
inline |
◆ rcp() [2/2]
template<typename T >
|
inline |
◆ sin() [1/2]
template<typename T >
|
inline |
◆ sin() [2/2]
template<typename T >
|
inline |
◆ sin< double >()
template<>
|
inline |
◆ sin< float >()
template<>
|
inline |
◆ sin< half_t >()
template<>
|
inline |
◆ sinh() [1/2]
template<typename T >
|
inline |
◆ sinh() [2/2]
template<typename T >
|
inline |
◆ sinh< double >()
template<>
|
inline |
◆ sinh< float >()
template<>
|
inline |
◆ tan() [1/2]
template<typename T >
|
inline |
◆ tan() [2/2]
template<typename T >
|
inline |
◆ tan< double >()
template<>
|
inline |
◆ tan< float >()
template<>
|
inline |
◆ tanh() [1/2]
template<typename T >
|
inline |
◆ tanh() [2/2]
template<typename T >
|
inline |
◆ tanh< double >()
template<>
|
inline |
◆ tanh< float >()
template<>
|
inline |