complex< float > Struct Reference

#include <_complex.h>

List of all members.

Public Types

typedef float value_type
typedef complex< float > _Self

Public Member Functions

 complex (value_type __x=0.0f, value_type __y=0.0f)
 complex (const complex< float > &__z)
 complex (const complex< double > &__z)
 complex (const complex< long double > &__z)
value_type real () const
value_type imag () const
_Selfoperator= (value_type __x)
_Selfoperator+= (value_type __x)
_Selfoperator-= (value_type __x)
_Selfoperator *= (value_type __x)
_Selfoperator/= (value_type __x)
_Selfoperator= (const _Self &__z)
_Selfoperator+= (const _Self &__z)
_Selfoperator-= (const _Self &__z)
_Selfoperator *= (const _Self &__z)
_Selfoperator/= (const _Self &__z)

Static Public Member Functions

static void _STLP_CALL _div (const float &__z1_r, const float &__z1_i, const float &__z2_r, const float &__z2_i, float &__res_r, float &__res_i)
static void _STLP_CALL _div (const float &__z1_r, const float &__z2_r, const float &__z2_i, float &__res_r, float &__res_i)

Public Attributes

value_type _M_re
value_type _M_im


Detailed Description

Definition at line 192 of file _complex.h.


Member Typedef Documentation

typedef float complex< float >::value_type

Definition at line 193 of file _complex.h.

typedef complex<float> complex< float >::_Self

Definition at line 194 of file _complex.h.


Constructor & Destructor Documentation

complex< float >::complex ( value_type  __x = 0.0f,
value_type  __y = 0.0f 
) [inline]

Definition at line 197 of file _complex.h.

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

Definition at line 200 of file _complex.h.

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

Definition at line 612 of file _complex.h.

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

Definition at line 617 of file _complex.h.


Member Function Documentation

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

Definition at line 207 of file _complex.h.

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

Definition at line 208 of file _complex.h.

_Self& complex< float >::operator= ( value_type  __x  )  [inline]

Definition at line 212 of file _complex.h.

_Self& complex< float >::operator+= ( value_type  __x  )  [inline]

Definition at line 217 of file _complex.h.

_Self& complex< float >::operator-= ( value_type  __x  )  [inline]

Definition at line 221 of file _complex.h.

_Self& complex< float >::operator *= ( value_type  __x  )  [inline]

Definition at line 225 of file _complex.h.

_Self& complex< float >::operator/= ( value_type  __x  )  [inline]

Definition at line 230 of file _complex.h.

void _STLP_CALL complex< float >::_div ( const float &  __z1_r,
const float &  __z1_i,
const float &  __z2_r,
const float &  __z2_i,
float &  __res_r,
float &  __res_i 
) [static]

Definition at line 126 of file complex.cpp.

void _STLP_CALL complex< float >::_div ( const float &  __z1_r,
const float &  __z2_r,
const float &  __z2_i,
float &  __res_r,
float &  __res_i 
) [static]

Definition at line 132 of file complex.cpp.

_Self& complex< float >::operator= ( const _Self __z  )  [inline]

Definition at line 289 of file _complex.h.

References _M_im, and _M_re.

_Self& complex< float >::operator+= ( const _Self __z  )  [inline]

Definition at line 295 of file _complex.h.

References _M_im, and _M_re.

_Self& complex< float >::operator-= ( const _Self __z  )  [inline]

Definition at line 301 of file _complex.h.

References _M_im, and _M_re.

_Self& complex< float >::operator *= ( const _Self __z  )  [inline]

Definition at line 307 of file _complex.h.

References _M_im, and _M_re.

_Self& complex< float >::operator/= ( const _Self __z  )  [inline]

Definition at line 315 of file _complex.h.

References _M_im, and _M_re.


Member Data Documentation

Definition at line 325 of file _complex.h.

Referenced by operator *=(), operator+=(), operator-=(), operator/=(), and operator=().

Definition at line 326 of file _complex.h.

Referenced by operator *=(), operator+=(), operator-=(), operator/=(), and operator=().


The documentation for this struct was generated from the following files:



Generated on Mon Mar 10 15:32:59 2008 by  doxygen 1.5.1