thrust::operator*

Defined in thrust/complex.h

template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::operator*(const complex<T0> &x, const T1 &y)

Multiplies a complex number by a scalar.

Parameters
  • x – The complex.

  • y – The scalar.