thrust

◆ operator*=() [2/2]

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

Multiplies this complex by a scalar and assigns the result to this complex.

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