![]() |
cuLite v0.3.1
A lite CUDA C++ Interface
|
Functions | |
| CULITE_HOST CULITE_DEVICE complex_t | culite::makeComplex (const real_t re, const real_t im=0.0) |
| Constructs a complex number from the associated real type. | |
| CULITE_HOST CULITE_DEVICE complex8_t | culite::makeComplex (const real4_t re, const real4_t im=0.0f) |
| Constructs a complex number from the associated real type. | |
| template<typename T_Scalar> | |
| CULITE_HOST CULITE_DEVICE T_Scalar | culite::makeScalar (const typename TypeTraits< T_Scalar >::real_type v) |
| Converts a real value to a scalar type. | |