thrust

◆ complex() [5/7]

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

This converting copy constructor copies from a complex with a type that is convertible to this complex's value_type.

Parameters
zThe complex to copy from.
Template Parameters
Uis convertible to value_type.