sqrt#

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

Returns the complex square root of a complex number.

Parameters:

z – The complex argument.