complex< float > Struct Template Reference

template <>
struct complex< float >
Public Member Functions
complex(value_type, value_type)
complex(const complex< float > &)
complex(const complex< double > &)
complex(const complex< long double > &)
_STLP_DECLSPEC void _STLP_CALL_div(const float &, const float &, const float &, const float &, float &, float &)
_STLP_DECLSPEC void _STLP_CALL_div(const float &, const float &, const float &, float &, float &)
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< float > _Self
typedeffloat 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.0f,
value_type__y = 0.0f
)[inline]

Parameters

value_type __x = 0.0f
value_type __y = 0.0f

complex(const complex< float > &)

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

Parameters

const complex< float > & __z

complex(const complex< double > &)

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

Parameters

const complex< double > & __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 float &, const float &, const float &, const float &, float &, float &)

_STLP_DECLSPEC 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]

Parameters

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

_div(const float &, const float &, const float &, float &, float &)

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

Parameters

const float & __z1_r
const float & __z2_r
const float & __z2_i
float & __res_r
float & __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< float >_Self

Typedef value_type

typedef floatvalue_type

Member Data Documentation

value_type _M_im

value_type _M_im

value_type _M_re

value_type _M_re