Image Utilities (IU)
|
#include <typetraits.h>
Data Structures | |
struct | is_complex |
Public Types | |
typedef double | real_type |
typedef double2 | complex_type |
Static Public Member Functions | |
static __host__ __device__ double2 | make_complex (double x) |
static __host__ __device__ double2 | make_complex (double x, double y) |
static __host__ __device__ double | make (double x) |
static __host__ __device__ double | abs (double x) |
static __host__ __device__ double | max (double x, double y) |
static const char * | name () |
Wrapper class for double to allow more efficient templating.
typedef double2 iu::type_trait< double >::complex_type |
Define basic complex type (double2)
typedef double iu::type_trait< double >::real_type |
Define basic real type (double)
|
inlinestatic |
Compute absolute value.
|
inlinestatic |
Make double from a single double value.
|
inlinestatic |
Make float2 from a single float value.
|
inlinestatic |
Make float2 from two float values.
|
inlinestatic |
Compute maximum value.
|
inlinestatic |
Return type name.