complex Struct Reference

struct complex

Constructor & Destructor Documentation

complex()

complex ( ) [inline]

complex(const value_type &)

complex ( const value_type & __x ) [inline]

Parameters

const value_type & __x

complex(const value_type &, const value_type &)

complex ( const value_type & __x,
const value_type & __y
) [inline]

Parameters

const value_type & __x
const value_type & __y

complex(const _Self &)

complex ( const _Self & __z ) [inline]

Parameters

const _Self & __z

Member Functions Documentation

_div(const value_type &, const value_type &, const value_type &, const value_type &, value_type &, value_type &)

void _STLP_CALL _div ( const value_type & __z1_r,
const value_type & __z1_i,
const value_type & __z2_r,
const value_type & __z2_i,
value_type & __res_r,
value_type & __res_i
) [static]

Parameters

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

_div(const value_type &, const value_type &, const value_type &, value_type &, value_type &)

void _STLP_CALL _div ( const value_type & __z1_r,
const value_type & __z2_r,
const value_type & __z2_i,
value_type & __res_r,
value_type & __res_i
) [static]

Parameters

const value_type & __z1_r
const value_type & __z2_r
const value_type & __z2_i
value_type & __res_r
value_type & __res_i

imag()

value_type imag ( ) const [inline]

operator*=(const value_type &)

_Self & operator*= ( const value_type & __x ) [inline]

Parameters

const value_type & __x

operator*=(const _Self &)

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

Parameters

const _Self & __z

operator+=(const value_type &)

_Self & operator+= ( const value_type & __x ) [inline]

Parameters

const value_type & __x

operator+=(const _Self &)

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

Parameters

const _Self & __z

operator-=(const value_type &)

_Self & operator-= ( const value_type & __x ) [inline]

Parameters

const value_type & __x

operator-=(const _Self &)

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

Parameters

const _Self & __z

operator/=(const value_type &)

_Self & operator/= ( const value_type & __x ) [inline]

Parameters

const value_type & __x

operator/=(const _Self &)

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

Parameters

const _Self & __z

operator=(const _Self &)

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

Parameters

const _Self & __z

operator=(const value_type &)

_Self & operator= ( const value_type & __x ) [inline]

Parameters

const value_type & __x

real()

value_type real ( ) const [inline]

Member Type Definitions Documentation

Typedef _Self

typedef complex < _Tp > _Self

Typedef value_type

typedef _Tp value_type

Member Data Documentation

value_type _M_im

value_type _M_im

value_type _M_re

value_type _M_re