thrust

◆ operator=() [2/5]

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

Assign z.real() and z.imag() to the real and imaginary parts of this complex respectively.

Parameters
zThe complex to copy from.