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