libstdc++
GNU C++ library
Complex Numbers
Collaboration diagram for Complex Numbers:

Classes

struct  std::_Norm_helper< bool >
 
struct  std::_Norm_helper< true >
 
class  std::complex< _Tp >
 
class  std::complex< double >
 
class  std::complex< float >
 
class  std::complex< long double >
 

Functions

constexpr std::complex< float >::complex (const complex< double > &)
 
constexpr std::complex< float >::complex (const complex< long double > &)
 
constexpr std::complex< double >::complex (const complex< long double > &)
 
template<typename _Tp >
_Tp std::__complex_abs (const complex< _Tp > &__z)
 
template<typename _Tp >
_Tp std::__complex_arg (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_cos (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_cosh (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_exp (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_log (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_pow (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
complex< _Tp > std::__complex_pow_unsigned (complex< _Tp > __x, unsigned __n)
 
template<typename _Tp >
complex< _Tp > std::__complex_sin (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_sinh (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_sqrt (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_tan (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::__complex_tanh (const complex< _Tp > &__z)
 
template<typename _Tp >
_Tp std::abs (const complex< _Tp > &)
 
template<typename _Tp >
_Tp std::arg (const complex< _Tp > &)
 
template<typename _Tp >
std::complex< typename __gnu_cxx::__promote< _Tp >::__type > std::tr1::conj (_Tp __x)
 
template<typename _Tp >
constexpr complex< _Tp > std::conj (const complex< _Tp > &)
 
template<typename _Tp >
std::complex< _Tp > std::tr1::conj (const std::complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::cos (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::cosh (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::exp (const complex< _Tp > &)
 
template<typename _Tp >
std::complex< _Tp > std::tr1::fabs (const std::complex< _Tp > &__z)
 
template<typename _Tp >
constexpr _Tp std::imag (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::log (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::log10 (const complex< _Tp > &)
 
template<typename _Tp >
constexpr _Tp std::norm (const complex< _Tp > &)
 
constexpr complex< _Tp > & std::complex< _Tp >::operator*= (const _Tp &)
 
template<typename _Up >
constexpr complex< _Tp > & std::complex< _Tp >::operator*= (const complex< _Up > &)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator+ (const complex< _Tp > &__x)
 
template<typename _Up >
constexpr complex< _Tp > & std::complex< _Tp >::operator+= (const complex< _Up > &)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator- (const complex< _Tp > &__x)
 
template<typename _Up >
constexpr complex< _Tp > & std::complex< _Tp >::operator-= (const complex< _Up > &)
 
constexpr complex< _Tp > & std::complex< _Tp >::operator/= (const _Tp &)
 
template<typename _Up >
constexpr complex< _Tp > & std::complex< _Tp >::operator/= (const complex< _Up > &)
 
template<typename _Tp , typename _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__os, const complex< _Tp > &__x)
 
template ostreamstd::operator<< (ostream &, const complex< double > &)
 
template ostreamstd::operator<< (ostream &, const complex< float > &)
 
template ostreamstd::operator<< (ostream &, const complex< long double > &)
 
template wostreamstd::operator<< (wostream &, const complex< double > &)
 
template wostreamstd::operator<< (wostream &, const complex< float > &)
 
template wostreamstd::operator<< (wostream &, const complex< long double > &)
 
constexpr complex< _Tp > & std::complex< _Tp >::operator= (const _Tp &)
 
template<typename _Up >
constexpr complex< _Tp > & std::complex< _Tp >::operator= (const complex< _Up > &)
 
template<typename _Tp , typename _CharT , class _Traits >
basic_istream< _CharT, _Traits > & std::operator>> (basic_istream< _CharT, _Traits > &__is, complex< _Tp > &__x)
 
template istreamstd::operator>> (istream &, complex< double > &)
 
template istreamstd::operator>> (istream &, complex< float > &)
 
template istreamstd::operator>> (istream &, complex< long double > &)
 
template wistreamstd::operator>> (wistream &, complex< double > &)
 
template wistreamstd::operator>> (wistream &, complex< float > &)
 
template wistreamstd::operator>> (wistream &, complex< long double > &)
 
template<typename _Tp >
complex< _Tp > std::polar (const _Tp &, const _Tp &=0)
 
template<typename _Tp , typename _Up >
std::complex< typename __gnu_cxx::__promote_2< _Tp, _Up >::__type > std::tr1::polar (const _Tp &__rho, const _Up &__theta)
 
template<typename _Tp >
complex< _Tp > std::pow (const _Tp &, const complex< _Tp > &)
 
template<typename _Tp >
std::complex< _Tp > std::tr1::pow (const _Tp &__x, const std::complex< _Tp > &__y)
 
template<typename _Tp , typename _Up >
std::complex< typename __gnu_cxx::__promote_2< _Tp, _Up >::__type > std::tr1::pow (const _Tp &__x, const std::complex< _Up > &__y)
 
template<typename _Tp >
complex< _Tp > std::pow (const complex< _Tp > &, const _Tp &)
 
template<typename _Tp >
complex< _Tp > std::pow (const complex< _Tp > &, const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::pow (const complex< _Tp > &, int)
 
template<typename _Tp >
std::complex< _Tp > std::tr1::pow (const std::complex< _Tp > &__x, const _Tp &__y)
 
template<typename _Tp , typename _Up >
std::complex< typename __gnu_cxx::__promote_2< _Tp, _Up >::__type > std::tr1::pow (const std::complex< _Tp > &__x, const _Up &__y)
 
template<typename _Tp >
std::complex< _Tp > std::tr1::pow (const std::complex< _Tp > &__x, const std::complex< _Tp > &__y)
 
template<typename _Tp , typename _Up >
std::complex< typename __gnu_cxx::__promote_2< _Tp, _Up >::__type > std::tr1::pow (const std::complex< _Tp > &__x, const std::complex< _Up > &__y)
 
template<typename _Tp >
constexpr _Tp std::real (const complex< _Tp > &__z)
 
template<typename _Tp >
complex< _Tp > std::sin (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::sinh (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::sqrt (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::tan (const complex< _Tp > &)
 
template<typename _Tp >
complex< _Tp > std::tanh (const complex< _Tp > &)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator+ (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator+ (const complex< _Tp > &__x, const _Tp &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator+ (const _Tp &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator- (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator- (const complex< _Tp > &__x, const _Tp &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator- (const _Tp &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator* (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator* (const complex< _Tp > &__x, const _Tp &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator* (const _Tp &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator/ (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator/ (const complex< _Tp > &__x, const _Tp &__y)
 
template<typename _Tp >
constexpr complex< _Tp > std::operator/ (const _Tp &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr bool std::operator== (const complex< _Tp > &__x, const complex< _Tp > &__y)
 
template<typename _Tp >
constexpr bool std::operator== (const complex< _Tp > &__x, const _Tp &__y)
 

Detailed Description

Classes and functions for complex numbers.