thrust::operator-
Defined in thrust/complex.h
- 
template<typename T0, typename T1>
 complex<::cuda::std::common_type_t<T0, T1>> thrust::operator-(const complex<T0> &x, const complex<T1> &y)
- Subtracts two - complexnumbers.- The value types of the two - complextypes should be compatible and the type of the returned- complexis the promoted type of the two arguments.- Parameters
- x – The first - complex(minuend).
- y – The second - complex(subtrahend).