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)

Divides a complex number by a scalar.

The value type of the complex should be compatible with the scalar and the type of the returned complex is the promoted type of the two arguments.

Parameters
  • x – The complex numerator (dividend).

  • y – The scalar denomimator (divisor).