Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/complex/imag2"

From cppreference.com
< cpp‎ | numeric‎ | complex
m (Text replace - "/sidebar" to "/navbar")
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh)
Line 23: Line 23:
 
{{dcl list template | cpp/numeric/complex/dcl list imag2}}
 
{{dcl list template | cpp/numeric/complex/dcl list imag2}}
 
{{dcl list end}}
 
{{dcl list end}}
 +
 +
[[de:cpp/numeric/complex/imag2]]
 +
[[es:cpp/numeric/complex/imag2]]
 +
[[fr:cpp/numeric/complex/imag2]]
 +
[[it:cpp/numeric/complex/imag2]]
 +
[[ja:cpp/numeric/complex/imag2]]
 +
[[pt:cpp/numeric/complex/imag2]]
 +
[[ru:cpp/numeric/complex/imag2]]
 +
[[zh:cpp/numeric/complex/imag2]]

Revision as of 22:52, 2 November 2012

 
 
 
 
Defined in header <complex>
template< class T >
T imag( const complex<T>& z );

Returns the imaginary component of the complex number z, i.e. z.imag().

Parameters

z - complex value

Return value

the imaginary component of z

See also

Template:cpp/numeric/complex/dcl list realTemplate:cpp/numeric/complex/dcl list imagTemplate:cpp/numeric/complex/dcl list imag2