thrust

◆ complex() [2/7]

template<typename T>
__host__ __device__ thrust::complex< T >::complex ( const T &  re,
const T &  im 
)

Construct a complex number from its real and imaginary parts.

Parameters
reThe real part of the number.
imThe imaginary part of the number.