thrust

◆ operator-=() [1/2]

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

Subtracts a complex from this complex and assigns the result to this complex.

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