/home/ntakagi/work/STLport-5.1.5/src/complex.cpp File Reference

#include "stlport_prefix.h"
#include <numeric>
#include <cmath>
#include <complex>

Go to the source code of this file.

Functions

_STLP_BEGIN_NAMESPACE _STLP_TEMPLATE_NULL
_STLP_DECLSPEC float _STLP_CALL 
abs (const complex< float > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
double _STLP_CALL 
abs (const complex< double > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
long double _STLP_CALL 
abs (const complex< long double > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
float _STLP_CALL 
arg (const complex< float > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
double _STLP_CALL 
arg (const complex< double > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
long double _STLP_CALL 
arg (const complex< long double > &__z)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
complex< float > _STLP_CALL 
polar (const float &__rho, const float &__phi)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
complex< double > _STLP_CALL 
polar (const double &__rho, const double &__phi)
_STLP_TEMPLATE_NULL _STLP_DECLSPEC
complex< long double > _STLP_CALL 
polar (const long double &__rho, const long double &__phi)
complex< float > _STLP_CALL sqrt (const complex< float > &z)
complex< double > _STLP_CALL sqrt (const complex< double > &z)
complex< long double > _STLP_CALL sqrt (const complex< long double > &z)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
exp (const complex< float > &z)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
exp (const complex< double > &z)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
exp (const complex< long double > &z)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
log10 (const complex< float > &z)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
log10 (const complex< double > &z)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
log10 (const complex< long double > &z)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
log (const complex< float > &z)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
log (const complex< double > &z)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
log (const complex< long double > &z)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
pow (const float &a, const complex< float > &b)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
pow (const complex< float > &z_in, int n)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
pow (const complex< float > &a, const float &b)
_STLP_DECLSPEC complex< float
> _STLP_CALL 
pow (const complex< float > &a, const complex< float > &b)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
pow (const double &a, const complex< double > &b)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
pow (const complex< double > &z_in, int n)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
pow (const complex< double > &a, const double &b)
_STLP_DECLSPEC complex< double
> _STLP_CALL 
pow (const complex< double > &a, const complex< double > &b)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
pow (const long double &a, const complex< long double > &b)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
pow (const complex< long double > &z_in, int n)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
pow (const complex< long double > &a, const long double &b)
_STLP_DECLSPEC complex< long
double > _STLP_CALL 
pow (const complex< long double > &a, const complex< long double > &b)


Function Documentation

_STLP_TEMPLATE_NULL _STLP_DECLSPEC long double _STLP_CALL abs ( const complex< long double > &  __z  ) 

Definition at line 48 of file complex.cpp.

References complex< _Tp >::_M_im, and complex< _Tp >::_M_re.

_STLP_TEMPLATE_NULL _STLP_DECLSPEC double _STLP_CALL abs ( const complex< double > &  __z  ) 

Definition at line 43 of file complex.cpp.

References complex< _Tp >::_M_im, and complex< _Tp >::_M_re.

_STLP_BEGIN_NAMESPACE _STLP_TEMPLATE_NULL _STLP_DECLSPEC float _STLP_CALL abs ( const complex< float > &  __z  ) 

Definition at line 40 of file complex.cpp.

References complex< _Tp >::_M_im, and complex< _Tp >::_M_re.

_STLP_TEMPLATE_NULL _STLP_DECLSPEC long double _STLP_CALL arg ( const complex< long double > &  __z  ) 

Definition at line 64 of file complex.cpp.

References complex< _Tp >::_M_im, complex< _Tp >::_M_re, and atan2().

_STLP_TEMPLATE_NULL _STLP_DECLSPEC double _STLP_CALL arg ( const complex< double > &  __z  ) 

Definition at line 59 of file complex.cpp.

References complex< _Tp >::_M_im, complex< _Tp >::_M_re, and atan2().

_STLP_TEMPLATE_NULL _STLP_DECLSPEC float _STLP_CALL arg ( const complex< float > &  __z  ) 

Definition at line 55 of file complex.cpp.

References complex< _Tp >::_M_im, complex< _Tp >::_M_re, and atan2().

_STLP_DECLSPEC complex<long double> _STLP_CALL exp ( const complex< long double > &  z  ) 

Definition at line 214 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL exp ( const complex< double > &  z  ) 

Definition at line 210 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL exp ( const complex< float > &  z  ) 

Definition at line 207 of file complex.cpp.

_STLP_DECLSPEC complex<long double> _STLP_CALL log ( const complex< long double > &  z  ) 

Definition at line 260 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL log ( const complex< double > &  z  ) 

Definition at line 256 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL log ( const complex< float > &  z  ) 

Definition at line 253 of file complex.cpp.

_STLP_DECLSPEC complex<long double> _STLP_CALL log10 ( const complex< long double > &  z  ) 

Definition at line 239 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL log10 ( const complex< double > &  z  ) 

Definition at line 234 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL log10 ( const complex< float > &  z  ) 

Definition at line 230 of file complex.cpp.

_STLP_TEMPLATE_NULL _STLP_DECLSPEC complex<long double> _STLP_CALL polar ( const long double &  __rho,
const long double &  __phi 
)

Definition at line 78 of file complex.cpp.

References cos(), and sin().

_STLP_TEMPLATE_NULL _STLP_DECLSPEC complex<double> _STLP_CALL polar ( const double &  __rho,
const double &  __phi 
)

Definition at line 73 of file complex.cpp.

References cos(), and sin().

_STLP_TEMPLATE_NULL _STLP_DECLSPEC complex<float> _STLP_CALL polar ( const float &  __rho,
const float &  __phi 
)

Definition at line 70 of file complex.cpp.

References cos(), and sin().

_STLP_DECLSPEC complex<long double> _STLP_CALL pow ( const complex< long double > &  a,
const complex< long double > &  b 
)

Definition at line 342 of file complex.cpp.

_STLP_DECLSPEC complex<long double> _STLP_CALL pow ( const complex< long double > &  a,
const long double &  b 
)

Definition at line 338 of file complex.cpp.

_STLP_DECLSPEC complex<long double> _STLP_CALL pow ( const complex< long double > &  z_in,
int  n 
)

Definition at line 335 of file complex.cpp.

_STLP_DECLSPEC complex<long double> _STLP_CALL pow ( const long double &  a,
const complex< long double > &  b 
)

Definition at line 330 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL pow ( const complex< double > &  a,
const complex< double > &  b 
)

Definition at line 326 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL pow ( const complex< double > &  a,
const double &  b 
)

Definition at line 323 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL pow ( const complex< double > &  z_in,
int  n 
)

Definition at line 320 of file complex.cpp.

_STLP_DECLSPEC complex<double> _STLP_CALL pow ( const double &  a,
const complex< double > &  b 
)

Definition at line 317 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL pow ( const complex< float > &  a,
const complex< float > &  b 
)

Definition at line 314 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL pow ( const complex< float > &  a,
const float &  b 
)

Definition at line 311 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL pow ( const complex< float > &  z_in,
int  n 
)

Definition at line 308 of file complex.cpp.

_STLP_DECLSPEC complex<float> _STLP_CALL pow ( const float &  a,
const complex< float > &  b 
)

Definition at line 305 of file complex.cpp.

complex<long double> _STLP_CALL sqrt ( const complex< long double > &  z  ) 

Definition at line 195 of file complex.cpp.

complex<double> _STLP_CALL sqrt ( const complex< double > &  z  ) 

Definition at line 191 of file complex.cpp.

complex<float> _STLP_CALL sqrt ( const complex< float > &  z  ) 

Definition at line 188 of file complex.cpp.



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