operator!=#

Overloads#

operator!=(x, y)#

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

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

Parameters:
  • x – The first complex.

  • y – The second complex.

operator!=(x, y)#

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

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

Parameters:
  • x – The first complex.

  • y – The second complex.

operator!=(x, y)#

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

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

Parameters:
  • x – The first complex.

  • y – The second complex.

operator!=(x, y)#

template<typename T0, typename T1>
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:
  • x – The scalar.

  • y – The complex.

operator!=(x, y)#

template<typename T0, typename T1>
bool thrust::operator!=(
const complex<T0> &x,
const 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:
  • x – The complex.

  • y – The scalar.