Template Function thrust::acos

Function Documentation

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
  • z: The complex argument.