thrust

◆ operator!=() [5/6]

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

Returns true if the imaginary part of the complex number is not zero or the real part is different from the scalar. Returns false otherwise.

Parameters
xThe scalar.
yThe complex.