thrust::proj
Defined in thrust/complex.h
-
template<typename T>
complex<T> thrust::proj(const T &z) Returns the projection of a
complex
on the Riemann sphere. For all finitecomplex
it returns the argument. Forcomplexs
with a non finite part returns (INFINITY,+/-0) where the sign of the zero matches the sign of the imaginary part of the argument.- Parameters
z – The
complex
argument.