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
complex
number from an input stream.The recognized formats are:
real
(real)
(real, imaginary)
The values read must be convertible to the
complex's
value_type
- Parameters
is
: The input stream.z
: Thecomplex
number to set.