complex< long double > Struct Reference

#include <_complex.h>

List of all members.

Public Types

typedef long double value_type
typedef complex< long double > _Self

Public Member Functions

 complex (value_type __x=0.0l, value_type __y=0.0l)
 complex (const complex< long double > &__z)
 complex (const complex< float > &__z)
 complex (const complex< 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 long double &__z1_r, const long double &__z1_i, const long double &__z2_r, const long double &__z2_i, long double &__res_r, long double &__res_i)
static void _STLP_CALL _div (const long double &__z1_r, const long double &__z2_r, const long double &__z2_i, long double &__res_r, long double &__res_i)

Public Attributes

value_type _M_re
value_type _M_im


Detailed Description

Definition at line 470 of file _complex.h.


Member Typedef Documentation

typedef long double complex< long double >::value_type

Definition at line 471 of file _complex.h.

typedef complex<long double> complex< long double >::_Self

Definition at line 472 of file _complex.h.


Constructor & Destructor Documentation

complex< long double >::complex ( value_type  __x = 0.0l,
value_type  __y = 0.0l 
) [inline]

Definition at line 475 of file _complex.h.

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

Definition at line 478 of file _complex.h.

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

Definition at line 621 of file _complex.h.

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

Definition at line 623 of file _complex.h.


Member Function Documentation

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

Definition at line 484 of file _complex.h.

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

Definition at line 485 of file _complex.h.

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

Definition at line 489 of file _complex.h.

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

Definition at line 494 of file _complex.h.

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

Definition at line 498 of file _complex.h.

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

Definition at line 502 of file _complex.h.

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

Definition at line 507 of file _complex.h.

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

Definition at line 152 of file complex.cpp.

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

Definition at line 158 of file complex.cpp.

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

Definition at line 567 of file _complex.h.

References _M_im, and _M_re.

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

Definition at line 573 of file _complex.h.

References _M_im, and _M_re.

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

Definition at line 579 of file _complex.h.

References _M_im, and _M_re.

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

Definition at line 585 of file _complex.h.

References _M_im, and _M_re.

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

Definition at line 593 of file _complex.h.

References _M_im, and _M_re.


Member Data Documentation

value_type complex< long double >::_M_re

Definition at line 603 of file _complex.h.

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

value_type complex< long double >::_M_im

Definition at line 604 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