thrust

◆ operator+=() [1/2]

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

Adds a complex to this complex and assigns the result to this complex.

Parameters
zThe complex to be added.
Template Parameters
Uis convertible to value_type.