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