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__ double2 | make (double x) |
static __host__ __device__ double | abs (double2 x) |
static const char * | name () |
Wrapper class for double2 to allow more efficient templating.
typedef double2 iu::type_trait< double2 >::complex_type |
Define basic complex type (double2)
typedef double iu::type_trait< double2 >::real_type |
Define basic real type (double)
|
inlinestatic |
Compute absolute value of complex number (double2).
|
inlinestatic |
Make double2 from a single double value.
|
inlinestatic |
Make double2 from a single double value.
|
inlinestatic |
Make double2 from two double values.
|
inlinestatic |
Return type name.