thrust

◆ operator==() [2/6]

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

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

Parameters
xThe first complex.
yThe second complex.

Referenced by thrust::complex< T >::operator std::complex< T >(), thrust::iterator_facade< Derived, Value, System, Traversal, Reference, Difference >::operator-(), and thrust::tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::swap().