thrust::cos

Defined in thrust/complex.h

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

Returns the complex cosine of a complex number.

Parameters

z – The complex argument.