thrust

◆ acos()

template<typename T >
__host__ __device__ complex<T> thrust::acos ( const complex< T > &  z)

Returns the complex arc cosine of a complex number.

The range of the real part of the result is [0, Pi] and the range of the imaginary part is [-inf, +inf]

Parameters
zThe complex argument.

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