Template Function thrust::arg¶
Defined in File complex.h
Function Documentation¶
-
template<typename T>__host__ __device__ T thrust::arg(const complex < T > & z)
Returns the phase angle (also known as argument) in radians of a
complex
.- Parameters
z
: Thecomplex
from which to calculate the phase angle.