thrust::operator-

Defined in thrust/complex.h

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

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

Parameters

y – The complex argument.