thrust

◆ cos()

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

Returns the complex cosine of a complex number.

Parameters
zThe complex argument.

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