Template Function thrust::operator>>¶
Defined in File complex.h
Function Documentation¶
-
template<typename
T, typenameCharT, typenameTraits>
std::basic_istream<CharT, Traits> &thrust::operator>>(std::basic_istream<CharT, Traits> &is, complex<T> &z)¶ Reads a
complexnumber from an input stream.The recognized formats are:
real
(real)
(real, imaginary)
The values read must be convertible to the
complex'svalue_type- Parameters
is: The input stream.z: Thecomplexnumber to set.