thrust

◆ operator*() [2/3]

template<typename T0 , typename T1 >
__host__ __device__ complex<typename detail::promoted_numerical_type<T0, T1>::type> thrust::operator* ( const complex< T0 > &  x,
const T1 &  y 
)

Multiplies a complex number by a scalar.

Parameters
xThe complex.
yThe scalar.