thrust

◆ complex() [7/7]

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

This converting copy constructor copies from a std::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.