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 T1 &y) Subtracts a scalar from a
complexnumber.The value type of the
complexshould be compatible with the scalar and the type of the returnedcomplexis the promoted type of the two arguments.- Parameters
x – The
complex(minuend).y – The scalar (subtrahend).