thrust

◆ operator<<()

template<typename T , typename CharT , typename Traits >
std::basic_ostream<CharT, Traits>& thrust::operator<< ( std::basic_ostream< CharT, Traits > &  os,
const complex< T > &  z 
)

Writes to an output stream a complex number in the form (real, imaginary).

Parameters
osThe output stream.
zThe complex number to output.