◆ operator-() [1/4]

template<typename T0 , typename T1 >
__host__ __device__ complex<typename detail::promoted_numerical_type<T0, T1>::type> thrust::operator- ( const complex< T0 > &  x,
const complex< T1 > &  y 

Subtracts two complex numbers.

The value types of the two complex types should be compatible and the type of the returned complex is the promoted type of the two arguments.

xThe first complex (minuend).
yThe second complex (subtrahend).

Referenced by thrust::iterator_facade< Derived, Value, System, Traversal, Reference, Difference >::operator-().