std::complex< float > Struct Template Reference

List of all members.

Public Types

typedef float value_type
typedef __complex__ float _ComplexT

Public Member Functions

 complex (_ComplexT __z)
 complex (float=0.0f, float=0.0f)
 complex (const complex< double > &)
 complex (const complex< long double > &)
float & real ()
const float & real () const
float & imag ()
const float & imag () const
complex< float > & operator= (float)
complex< float > & operator+= (float)
complex< float > & operator-= (float)
complex< float > & operator *= (float)
complex< float > & operator/= (float)
template<typename _Tp>
complex< float > & operator= (const complex< _Tp > &)
template<typename _Tp>
complex< float > & operator+= (const complex< _Tp > &)
template<class _Tp>
complex< float > & operator-= (const complex< _Tp > &)
template<class _Tp>
complex< float > & operator *= (const complex< _Tp > &)
template<class _Tp>
complex< float > & operator/= (const complex< _Tp > &)
const _ComplexT__rep () const

Private Attributes

_ComplexT _M_value

Detailed Description

template<>
struct std::complex< float >

Definition at line 1002 of file complex.


Member Typedef Documentation

typedef __complex__ float std::complex< float >::_ComplexT

Definition at line 1005 of file complex.

typedef float std::complex< float >::value_type

Definition at line 1004 of file complex.


Constructor & Destructor Documentation

std::complex< float >::complex ( _ComplexT  __z  )  [inline]

Definition at line 1007 of file complex.

std::complex< float >::complex ( float  = 0.0f,
float  = 0.0f 
) [inline]

Definition at line 1062 of file complex.

std::complex< float >::complex ( const complex< double > &   )  [inline, explicit]

Definition at line 1464 of file complex.

std::complex< float >::complex ( const complex< long double > &   )  [inline, explicit]

Definition at line 1468 of file complex.


Member Function Documentation

const _ComplexT& std::complex< float >::__rep (  )  const [inline]

Definition at line 1039 of file complex.

const float & std::complex< float >::imag (  )  const [inline]

Definition at line 1058 of file complex.

float & std::complex< float >::imag (  )  [inline]

Definition at line 1054 of file complex.

template<class _Tp>
complex< float > & std::complex< float >::operator *= ( const complex< _Tp > &   )  [inline]

Definition at line 1133 of file complex.

References std::complex< _Tp >::imag(), and std::complex< _Tp >::real().

complex< float > & std::complex< float >::operator *= ( float   )  [inline]

Definition at line 1091 of file complex.

template<typename _Tp>
complex< float > & std::complex< float >::operator+= ( const complex< _Tp > &   )  [inline]

Definition at line 1115 of file complex.

References std::complex< _Tp >::imag(), and std::complex< _Tp >::real().

complex< float > & std::complex< float >::operator+= ( float   )  [inline]

Definition at line 1077 of file complex.

template<class _Tp>
complex< float > & std::complex< float >::operator-= ( const complex< _Tp > &   )  [inline]

Definition at line 1124 of file complex.

References std::complex< _Tp >::imag(), and std::complex< _Tp >::real().

complex< float > & std::complex< float >::operator-= ( float   )  [inline]

Definition at line 1084 of file complex.

template<class _Tp>
complex< float > & std::complex< float >::operator/= ( const complex< _Tp > &   )  [inline]

Definition at line 1144 of file complex.

References std::complex< _Tp >::imag(), and std::complex< _Tp >::real().

complex< float > & std::complex< float >::operator/= ( float   )  [inline]

Definition at line 1098 of file complex.

template<typename _Tp>
complex< float > & std::complex< float >::operator= ( const complex< _Tp > &   )  [inline]

Definition at line 1106 of file complex.

References std::complex< _Tp >::imag(), and std::complex< _Tp >::real().

complex< float > & std::complex< float >::operator= ( float   )  [inline]

Definition at line 1069 of file complex.

const float & std::complex< float >::real (  )  const [inline]

Definition at line 1050 of file complex.

float & std::complex< float >::real (  )  [inline]

Definition at line 1046 of file complex.


Member Data Documentation

_ComplexT std::complex< float >::_M_value [private]

Definition at line 1042 of file complex.


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 16:59:25 2010 for GNU C++ STL by  doxygen 1.4.7