Template Function thrust::cos

Function Documentation

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

Returns the complex cosine of a complex number.

Parameters
  • z: The complex argument.