Defined in thrust/complex.h
Returns true if the imaginary part of the complex number is zero and the real part is equal to the scalar. Returns false otherwise.
complex
x – The complex.
y – The scalar.