Template Function thrust::tanh

Function Documentation

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

Returns the complex hyperbolic tangent of a complex number.

Parameters
  • z: The complex argument.