thrust

◆ operator-=() [2/2]

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

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

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