Complex Numbers
[Numerics]

Collaboration diagram for Complex Numbers:

Classes

Functions


Detailed Description

Classes and functions for complex numbers.


Function Documentation

template<typename _Tp >
_Tp std::abs ( const complex< _Tp > &  __z  )  [inline]
template<typename _Tp >
std::complex< _Tp > std::acos ( const std::complex< _Tp > &  __z  )  [inline]

acos(__z) [8.1.2].

Definition at line 86 of file tr1_impl/complex.

template<typename _Tp >
std::complex< _Tp > std::acosh ( const std::complex< _Tp > &  __z  )  [inline]

acosh(__z) [8.1.5].

Definition at line 205 of file tr1_impl/complex.

template<typename _Tp >
__gnu_cxx::__promote<_Tp>::__type std::arg ( _Tp  __x  )  [inline]

Additional overloads [8.1.9].

Definition at line 311 of file tr1_impl/complex.

References std::arg().

template<typename _Tp >
_Tp std::arg ( const complex< _Tp > &  __z  )  [inline]

Return phase angle of z.

Definition at line 621 of file complex.

Referenced by std::arg().

template<typename _Tp >
std::complex< _Tp > std::asin ( const std::complex< _Tp > &  __z  )  [inline]

asin(__z) [8.1.3].

Definition at line 122 of file tr1_impl/complex.

template<typename _Tp >
std::complex< _Tp > std::asinh ( const std::complex< _Tp > &  __z  )  [inline]

asinh(__z) [8.1.6].

Definition at line 244 of file tr1_impl/complex.

template<typename _Tp >
std::complex< _Tp > std::atan ( const std::complex< _Tp > &  __z  )  [inline]

atan(__z) [8.1.4].

Definition at line 166 of file tr1_impl/complex.

template<typename _Tp >
std::complex< _Tp > std::atanh ( const std::complex< _Tp > &  __z  )  [inline]

atanh(__z) [8.1.7].

Definition at line 288 of file tr1_impl/complex.

template<typename _Tp >
complex< _Tp > std::conj ( const complex< _Tp > &  __z  )  [inline]

Return complex conjugate of z.

Definition at line 667 of file complex.

template<typename _Tp >
complex< _Tp > std::cos ( const complex< _Tp > &  __z  )  [inline]

Return complex cosine of z.

Definition at line 699 of file complex.

Referenced by std::polar().

template<typename _Tp >
complex< _Tp > std::cosh ( const complex< _Tp > &  __z  )  [inline]

Return complex hyperbolic cosine of z.

Definition at line 729 of file complex.

template<typename _Tp >
complex< _Tp > std::exp ( const complex< _Tp > &  __z  )  [inline]

Return complex base e exponential of z.

Definition at line 755 of file complex.

Referenced by std::pow().

template<typename _Tp >
_Tp std::fabs ( const std::complex< _Tp > &  __z  )  [inline]

fabs(__z) [8.1.8].

Definition at line 301 of file tr1_impl/complex.

References std::abs().

template<typename _Tp >
complex< _Tp > std::log ( const complex< _Tp > &  __z  )  [inline]
template<typename _Tp >
complex< _Tp > std::log10 ( const complex< _Tp > &  __z  )  [inline]

Return complex base 10 logarithm of z.

Definition at line 787 of file complex.

References std::log().

template<typename _Tp >
_Tp std::norm ( const complex< _Tp > &  __z  )  [inline]

Return z magnitude squared.

Definition at line 654 of file complex.

Referenced by std::complex< _Tp >::operator/=().

template<typename _Tp >
bool std::operator!= ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 479 of file complex.

template<typename _Tp >
bool std::operator!= ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 474 of file complex.

template<typename _Tp >
bool std::operator!= ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 469 of file complex.

template<size_t _Nb>
bitset<_Nb> std::operator& ( const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y 
) [inline]

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.

These should be self-explanatory.

Definition at line 1349 of file bitset.

template<typename _Tp >
complex<_Tp> std::operator* ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 397 of file complex.

template<typename _Tp >
complex<_Tp> std::operator* ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 388 of file complex.

template<typename _Tp >
complex<_Tp> std::operator* ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return new complex value x times y.

Definition at line 379 of file complex.

template<typename _Tp >
template<typename _Up >
complex< _Tp > & std::complex< _Tp >::operator*= ( const complex< _Up > &  __z  )  [inline, inherited]

Multiply this complex number by z.

Definition at line 292 of file complex.

template<typename _Tp >
complex< _Tp > & std::complex< _Tp >::operator*= ( const _Tp &  __t  )  [inline, inherited]

Multiply this complex number by t.

Definition at line 238 of file complex.

template<typename _Tp >
complex<_Tp> std::operator+ ( const complex< _Tp > &  __x  )  [inline]

Return x.

Definition at line 438 of file complex.

template<typename _Tp >
complex<_Tp> std::operator+ ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 337 of file complex.

template<typename _Tp >
complex<_Tp> std::operator+ ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 328 of file complex.

template<typename _Tp >
complex<_Tp> std::operator+ ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return new complex value x plus y.

Definition at line 319 of file complex.

template<typename _Tp >
template<typename _Up >
complex< _Tp > & std::complex< _Tp >::operator+= ( const complex< _Up > &  __z  )  [inline, inherited]

Add z to this complex number.

Definition at line 269 of file complex.

template<typename _Tp >
complex<_Tp> std::operator- ( const complex< _Tp > &  __x  )  [inline]

Return complex negation of x.

Definition at line 444 of file complex.

template<typename _Tp >
complex<_Tp> std::operator- ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 367 of file complex.

template<typename _Tp >
complex<_Tp> std::operator- ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 358 of file complex.

template<typename _Tp >
complex<_Tp> std::operator- ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return new complex value x minus y.

Definition at line 349 of file complex.

template<typename _Tp >
template<typename _Up >
complex< _Tp > & std::complex< _Tp >::operator-= ( const complex< _Up > &  __z  )  [inline, inherited]

Subtract z from this complex number.

Definition at line 280 of file complex.

template<typename _Tp >
complex<_Tp> std::operator/ ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 427 of file complex.

template<typename _Tp >
complex<_Tp> std::operator/ ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 418 of file complex.

template<typename _Tp >
complex<_Tp> std::operator/ ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return new complex value x divided by y.

Definition at line 409 of file complex.

template<typename _Tp >
template<typename _Up >
complex< _Tp > & std::complex< _Tp >::operator/= ( const complex< _Up > &  __z  )  [inline, inherited]

Divide this complex number by z.

Definition at line 305 of file complex.

References std::norm().

template<typename _Tp >
complex< _Tp > & std::complex< _Tp >::operator/= ( const _Tp &  __t  )  [inline, inherited]

Divide this complex number by t.

Definition at line 248 of file complex.

template<class _CharT , class _Traits , size_t _Nb>
std::basic_ostream<_CharT, _Traits>& std::operator<< ( std::basic_ostream< _CharT, _Traits > &  __os,
const bitset< _Nb > &  __x 
) [inline]

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.

These should be self-explanatory.

Definition at line 1454 of file bitset.

References std::__ctype_abstract_base< _CharT >::widen().

template<typename _CharT , typename _Traits >
basic_ostream<_CharT, _Traits>& std::operator<< ( basic_ostream< _CharT, _Traits > &  __out,
_CharT  __c 
) [inline]

Character inserters.

Parameters:
out An output stream.
c A character.
Returns:
out

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts a single character and any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

If c is of type char and the character type of the stream is not char, the character is widened before insertion.

Definition at line 449 of file ostream.

template<typename _CharT , typename _Traits >
basic_ostream<_CharT, _Traits>& std::operator<< ( basic_ostream< _CharT, _Traits > &  __out,
char  __c 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 454 of file ostream.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
char  __c 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 460 of file ostream.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
signed char  __c 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 466 of file ostream.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
unsigned char  __c 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 471 of file ostream.

template<typename _CharT , typename _Traits >
basic_ostream<_CharT, _Traits>& std::operator<< ( basic_ostream< _CharT, _Traits > &  __out,
const _CharT *  __s 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 491 of file ostream.

template<typename _CharT , typename _Traits >
basic_ostream< _CharT, _Traits > & std::operator<< ( basic_ostream< _CharT, _Traits > &  __out,
const char *  __s 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 321 of file ostream.tcc.

References std::ios_base::badbit.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
const char *  __s 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 508 of file ostream.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
const signed char *  __s 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 521 of file ostream.

template<class _Traits >
basic_ostream<char, _Traits>& std::operator<< ( basic_ostream< char, _Traits > &  __out,
const unsigned char *  __s 
) [inline]

String inserters.

Parameters:
out An output stream.
s A character string.
Returns:
out
Precondition:
s must be a non-NULL pointer

Behaves like one of the formatted arithmetic inserters described in std::basic_ostream. After constructing a sentry object with good status, this function inserts traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.

Definition at line 526 of file ostream.

template<typename _Tp , typename _CharT , class _Traits >
basic_ostream<_CharT, _Traits>& std::operator<< ( basic_ostream< _CharT, _Traits > &  __os,
const complex< _Tp > &  __x 
) [inline]
template<typename _Tp >
template<typename _Up >
complex< _Tp > & std::complex< _Tp >::operator= ( const complex< _Up > &  __z  )  [inline, inherited]

Assign this complex number to complex z.

Definition at line 258 of file complex.

template<typename _Tp >
complex< _Tp > & std::complex< _Tp >::operator= ( const _Tp &  __t  )  [inline, inherited]

Assign this complex number to scalar t.

Definition at line 228 of file complex.

template<typename _Tp >
bool std::operator== ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 461 of file complex.

template<typename _Tp >
bool std::operator== ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return false if x is equal to y.

Definition at line 456 of file complex.

template<typename _Tp >
bool std::operator== ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return true if x is equal to y.

Definition at line 451 of file complex.

template<class _CharT , class _Traits , size_t _Nb>
std::basic_istream<_CharT, _Traits>& std::operator>> ( std::basic_istream< _CharT, _Traits > &  __is,
bitset< _Nb > &  __x 
) [inline]

Global I/O operators for bitsets.

Direct I/O between streams and bitsets is supported. Output is straightforward. Input will skip whitespace, only accept '0' and '1' characters, and will only extract as many digits as the bitset will hold.

Definition at line 1386 of file bitset.

References std::basic_string< _CharT, _Traits, _Alloc >::empty(), std::basic_string< _CharT, _Traits, _Alloc >::push_back(), std::basic_ios< _CharT, _Traits >::rdbuf(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_ios< _CharT, _Traits >::setstate(), and std::basic_ios< _CharT, _Traits >::widen().

template<typename _CharT , typename _Traits >
basic_istream< _CharT, _Traits > & std::operator>> ( basic_istream< _CharT, _Traits > &  __in,
_CharT &  __c 
) [inline]

Character extractors.

Parameters:
in An input stream.
c A character reference.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts a character (if one is available) and stores it in c. Otherwise, sets failbit in the input stream.

Definition at line 903 of file istream.tcc.

References std::ios_base::badbit, std::ios_base::eofbit, std::ios_base::failbit, std::ios_base::goodbit, std::basic_ios< _CharT, _Traits >::rdbuf(), and std::basic_ios< _CharT, _Traits >::setstate().

template<class _Traits >
basic_istream<char, _Traits>& std::operator>> ( basic_istream< char, _Traits > &  __in,
unsigned char &  __c 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

Definition at line 702 of file istream.

template<class _Traits >
basic_istream<char, _Traits>& std::operator>> ( basic_istream< char, _Traits > &  __in,
signed char &  __c 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

Definition at line 707 of file istream.

template<typename _CharT , typename _Traits >
basic_istream< _CharT, _Traits > & std::operator>> ( basic_istream< _CharT, _Traits > &  __in,
_CharT *  __s 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

Definition at line 935 of file istream.tcc.

References std::ios_base::badbit, std::ios_base::eofbit, std::ios_base::failbit, std::ios_base::getloc(), std::ios_base::goodbit, std::basic_ios< _CharT, _Traits >::rdbuf(), std::basic_ios< _CharT, _Traits >::setstate(), and std::ios_base::width().

template<>
basic_istream<char>& std::operator>> ( basic_istream< char > &  __in,
char *  __s 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

template<class _Traits >
basic_istream<char, _Traits>& std::operator>> ( basic_istream< char, _Traits > &  __in,
unsigned char *  __s 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

Definition at line 748 of file istream.

template<class _Traits >
basic_istream<char, _Traits>& std::operator>> ( basic_istream< char, _Traits > &  __in,
signed char *  __s 
) [inline]

Character string extractors.

Parameters:
in An input stream.
s A pointer to a character array.
Returns:
in

Behaves like one of the formatted arithmetic extractors described in std::basic_istream. After constructing a sentry object with good status, this function extracts up to n characters and stores them into the array starting at s. n is defined as:

  • if width() is greater than zero, n is width()
  • otherwise n is "the number of elements of the largest array of @c char_type that can store a terminating @c eos." [27.6.1.2.3]/6

Characters are extracted and stored until one of the following happens:

  • n-1 characters are stored
  • EOF is reached
  • the next character is whitespace according to the current locale
  • the next character is a null byte (i.e., charT() )

width(0) is then called for the input stream.

If no characters are extracted, sets failbit.

Definition at line 753 of file istream.

template<typename _Tp , typename _CharT , class _Traits >
basic_istream<_CharT, _Traits>& std::operator>> ( basic_istream< _CharT, _Traits > &  __is,
complex< _Tp > &  __x 
) [inline]
template<size_t _Nb>
bitset<_Nb> std::operator^ ( const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y 
) [inline]

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.

These should be self-explanatory.

Definition at line 1367 of file bitset.

template<size_t _Nb>
bitset<_Nb> std::operator| ( const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y 
) [inline]

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.

These should be self-explanatory.

Definition at line 1358 of file bitset.

template<typename _Tp >
complex< _Tp > std::polar ( const _Tp &  __rho,
const _Tp &  __theta = 0 
) [inline]

Return complex with magnitude rho and angle theta.

Definition at line 662 of file complex.

References std::cos(), and std::sin().

Referenced by std::pow().

template<typename _Tp >
complex< _Tp > std::pow ( const _Tp &  __x,
const complex< _Tp > &  __y 
) [inline]

Return x to the y'th power.

Definition at line 1009 of file complex.

References std::log(), std::polar(), and std::pow().

template<typename _Tp >
complex< _Tp > std::pow ( const complex< _Tp > &  __x,
const complex< _Tp > &  __y 
) [inline]

Return x to the y'th power.

Definition at line 1003 of file complex.

template<typename _Tp >
complex< _Tp > std::pow ( const complex< _Tp > &  __x,
const _Tp &  __y 
) [inline]

Return x to the y'th power.

Definition at line 964 of file complex.

References std::exp(), std::log(), and std::polar().

Referenced by std::gamma_distribution< _RealType >::operator()(), and std::pow().

template<typename _Tp >
complex< _Tp > std::sin ( const complex< _Tp > &  __z  )  [inline]

Return complex sine of z.

Definition at line 817 of file complex.

Referenced by std::polar().

template<typename _Tp >
complex< _Tp > std::sinh ( const complex< _Tp > &  __z  )  [inline]

Return complex hyperbolic sine of z.

Definition at line 847 of file complex.

template<typename _Tp >
complex< _Tp > std::sqrt ( const complex< _Tp > &  __z  )  [inline]

Return complex square root of z.

Definition at line 891 of file complex.

Referenced by std::normal_distribution< _RealType >::operator()().

template<typename _Tp >
complex< _Tp > std::tan ( const complex< _Tp > &  __z  )  [inline]

Return complex tangent of z.

Definition at line 918 of file complex.

template<typename _Tp >
complex< _Tp > std::tanh ( const complex< _Tp > &  __z  )  [inline]

Return complex hyperbolic tangent of z.

Definition at line 946 of file complex.


Generated on 11 Jan 2010 for libstdc++ by  doxygen 1.6.1