thrust

◆ operator-() [4/4]

template<typename T >
__host__ __device__ complex<T> thrust::operator- ( const complex< T > &  y)

Unary minus, returns the additive inverse (negation) of its complex argument.

Parameters
yThe complex argument.