<complex>
Home Up

 

Same level pages:
<algorithms>
<cassert>
<cerrno>
<cctype>
<cfloat>
<climits>
<clocale>
<cmath>
<complex>
<csetjmp>
<csignal>
<cstdarg>
<cstddef>
<cstdio>
<cstdlib>
<cstring>
<ctime>
<cwchar>
<cwctype>
<exception>
<fstream>
<functional>
<iomanip>
<ios>
<iostream>
<istream>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
<ostream>
<sstream>
<stdexcept>
<streambuf>
<string>
<typeinfo>
<utility>
<valarray>

Parent level pages:
STL
FAQs
Headers
Libraries

<complex> is part of the Standard C++ Numerics Library.

Classes

template<class T> class complex;
class complex<float>;
class complex<double>;
class complex<long double>;

Functions

Operator+

complex<T> operator+ (const complex<T>&, const complex<T>&);
complex<T> operator+ (const complex<T>&, T);
complex<T> operator+ (T, const complex<T>&);
complex<T> operator+ (const complex<T>&);

Operator-

complex<T> operator- (const complex<T>&, const complex<T>&);
complex<T> operator- (const complex<T>&, T);
complex<T> operator- (T, const complex<T>&);
complex<T> operator- (const complex<T>&);

Operator*

complex<T> operator* (const complex<T>&, const complex<T>&);
complex<T> operator* (const complex<T>&, T);
complex<T> operator* (T, const complex<T>&);

Operator/

complex<T> operator/ (const complex<T>&, const complex<T>&);
complex<T> operator/ (const complex<T>&, const T>&);
complex<T> operator/ (T, const complex<T>&);

Operator==

complex<T> operator== (const complex<T>&, const complex<T>&);
complex<T> operator== (const complex<T>&, T);
complex<T> operator== (T, const complex<T>&);

Operator!=

complex<T> operator!= (const complex<T>&, const complex<T>&);
complex<T> operator!= (const complex<T>&, T);
complex<T> operator!= ( T, const complex<T>&);

I/O Stream operators

istream& operator>> (istream&, complex<T>&);
ostream& operator<< (ostream&, const complex<T>&);

Numeric Functions

T real (const complex<T>&);
T imag (const complex<T>&);
T abs (const complex<T>&);
T arg (const complex<T>&);
T norm (const complex<T>&);
complex<T> conj (const complex<T>&);
complex<T> polar (T, T);

complex<T> acos (const complex<T>&);
complex<T> asin (const complex<T>&);
complex<T> atan (const complex<T>&);
complex<T> atan2 (const complex<T>&, const complex<T>&);
complex<T> atan2 (const complex<T>&, T);
complex<T> atan2 (T, const complex<T>&);
complex<T> cos (const complex<T>&);
complex<T> cosh (const complex<T>&);
complex<T> exp (const complex<T>&);
complex<T> log (const complex<T>&);
complex<T> log10 (const complex<T>&);
complex<T> pow (const complex<T>&, int);
complex<T> pow (const complex<T>&, T);
complex<T> pow (const complex<T>&, const complex<T>&);
complex<T> pow (T, const complex<T>&);
complex<T> sin (const complex<T>&);
complex<T> sinh (const complex<T>&);
complex<T> sqrt (const complex<T>&);
complex<T> tan (const complex<T>&);
complex<T> tanh (const complex<T>&);
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/30/00 03:59 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.