thrust::operator==

Defined in thrust/complex.h

template<typename T0, typename T1>
bool thrust::operator==(const complex<T0> &x, const std::complex<T1> &y)

Returns true if two complex numbers are equal and false otherwise.

Parameters
  • x – The first complex.

  • y – The second complex.