thrust

◆ operator=() [1/5]

template<typename T>
__host__ __device__ complex& thrust::complex< T >::operator= ( const T &  re)

Assign re to the real part of this complex and set the imaginary part to 0.

Parameters
reThe real part of the number.