Template Function thrust::atan¶
Defined in File complex.h
Function Documentation¶
-
template<typename T>__host__ __device__ complex<T> thrust::atan(const complex < T > & z)
Returns the complex arc tangent of a
complex
number.The range of the real part of the result is [-Pi/2, Pi/2] and the range of the imaginary part is [-inf, +inf]
- Parameters
z
: Thecomplex
argument.