thrust

◆ arg()

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
zThe complex from which to calculate the phase angle.

Referenced by addressof(), and thrust::complex< T >::operator std::complex< T >().