complex< double > Struct Template Reference

template <>
struct complex< double >
Public Member Functions
complex(value_type, value_type)
complex(const complex< double > &)
complex(const complex< float > &)
complex(const complex< long double > &)
_STLP_DECLSPEC void _STLP_CALL_div(const double &, const double &, const double &, const double &, double &, double &)
_STLP_DECLSPEC void _STLP_CALL_div(const double &, const double &, const double &, double &, double &)
value_type imag()
_Self &operator*=(value_type)
_Self &operator*=(const _Self &)
_Self &operator+=(value_type)
_Self &operator+=(const _Self &)
_Self &operator-=(value_type)
_Self &operator-=(const _Self &)
_Self &operator/=(value_type)
_Self &operator/=(const _Self &)
_Self &operator=(value_type)
_Self &operator=(const _Self &)
value_type real()
Public Member Type Definitions
typedef complex< double > _Self
typedefdouble value_type
Public Attributes
value_type _M_im
value_type _M_re

Constructor & Destructor Documentation

complex(value_type, value_type)

complex(value_type__x = 0.0,
value_type__y = 0.0
)[inline]

Parameters

value_type __x = 0.0
value_type __y = 0.0

complex(const complex< double > &)

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

Parameters

const complex< double > & __z

complex(const complex< float > &)

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

Parameters

const complex< float > & __z

complex(const complex< long double > &)

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

Parameters

const complex< long double > & __z

Member Functions Documentation

_div(const double &, const double &, const double &, const double &, double &, double &)

_STLP_DECLSPEC void _STLP_CALL_div(const double &__z1_r,
const double &__z1_i,
const double &__z2_r,
const double &__z2_i,
double &__res_r,
double &__res_i
)[static]

Parameters

const double & __z1_r
const double & __z1_i
const double & __z2_r
const double & __z2_i
double & __res_r
double & __res_i

_div(const double &, const double &, const double &, double &, double &)

_STLP_DECLSPEC void _STLP_CALL_div(const double &__z1_r,
const double &__z2_r,
const double &__z2_i,
double &__res_r,
double &__res_i
)[static]

Parameters

const double & __z1_r
const double & __z2_r
const double & __z2_i
double & __res_r
double & __res_i

imag()

value_type imag()const [inline]

operator*=(value_type)

_Self &operator*=(value_type__x)[inline]

Parameters

value_type __x

operator*=(const _Self &)

_Self &operator*=(const _Self &__z)[inline]

Parameters

const _Self & __z

operator+=(value_type)

_Self &operator+=(value_type__x)[inline]

Parameters

value_type __x

operator+=(const _Self &)

_Self &operator+=(const _Self &__z)[inline]

Parameters

const _Self & __z

operator-=(value_type)

_Self &operator-=(value_type__x)[inline]

Parameters

value_type __x

operator-=(const _Self &)

_Self &operator-=(const _Self &__z)[inline]

Parameters

const _Self & __z

operator/=(value_type)

_Self &operator/=(value_type__x)[inline]

Parameters

value_type __x

operator/=(const _Self &)

_Self &operator/=(const _Self &__z)[inline]

Parameters

const _Self & __z

operator=(value_type)

_Self &operator=(value_type__x)[inline]

Parameters

value_type __x

operator=(const _Self &)

_Self &operator=(const _Self &__z)[inline]

Parameters

const _Self & __z

real()

value_type real()const [inline]

Member Type Definitions Documentation

Typedef _Self

typedef complex< double >_Self

Typedef value_type

typedef doublevalue_type

Member Data Documentation

value_type _M_im

value_type _M_im

value_type _M_re

value_type _M_re