thrust

◆ operator=() [4/5]

template<typename T>
__host__ complex& thrust::complex< T >::operator= ( const std::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.