Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

Complex.h File Reference

Diffpack Kernel. More...

Go to the source code of this file.

Compounds

class  Complex
 class for complex numbers. More...


Functions

char* oform2 (char *s, Complex c)
real getReal (const Complex &c)
Complex operator/ (const Complex &x, const Complex &y)
Complex operator/ (const Complex &x, real y)
Complex operator/ (real x, const Complex &y)
Complex cos (const Complex &x)
Complex sin (const Complex &x)
Complex cosh (const Complex &x)
Complex sinh (const Complex &x)
Complex exp (const Complex &x)
Complex log (const Complex &x)
Complex pow (const Complex &x, int p)
Complex pow (const Complex &x, const Complex &p)
Complex pow (const Complex &x, real y)
Complex sqrt (const Complex &x)
Isoperator>> (Is &s, Complex &x)
Osoperator<< (Os &s, const Complex &x)
int operator== (const Complex &x, const Complex &y)
int operator== (const Complex &x, real y)
int operator!= (const Complex &x, const Complex &y)
int operator!= (const Complex &x, real y)
int operator> (const Complex &x, const Complex &y)
int operator>= (const Complex &x, const Complex &y)
int operator< (const Complex &x, const Complex &y)
int operator<= (const Complex &x, const Complex &y)
Complex operator- (const Complex &x)
Complex conj (const Complex &x)
Complex operator+ (const Complex &x, const Complex &y)
Complex operator+ (const Complex &x, real y)
Complex operator+ (real x, const Complex &y)
Complex operator- (const Complex &x, const Complex &y)
Complex operator- (const Complex &x, real y)
Complex operator- (real x, const Complex &y)
Complex operator * (const Complex &x, const Complex &y)
Complex operator * (const Complex &x, real y)
Complex operator * (real x, const Complex &y)
real Re (const Complex &x)
real Im (const Complex &x)
real abs (const Complex &x)
real norm (const Complex &x)
real arg (const Complex &x)
Complex polar (real r, real t=0.0)
Complex sqr (Complex a)
Complex pow3 (Complex a)
Complex pow4 (Complex a)
Complex pow_int (Complex a, int i)
bool eq (Complex a, Complex b, real tol=comparison_tolerance)
bool lt (Complex a, Complex b, real tol=comparison_tolerance)
bool le (Complex a, Complex b, real tol=comparison_tolerance)
Complex min (Complex arg1, Complex arg2)
Complex max (Complex arg1, Complex arg2)


Detailed Description

Diffpack Kernel.


Function Documentation

real Im ( const Complex & x ) [inline]
 

real Re ( const Complex & x ) [inline]
 

real abs ( const Complex & x ) [inline]
 

real arg ( const Complex & x ) [inline]
 

Complex::Complex conj ( const Complex & x ) [inline]
 

See documentation of one of the overloaded constructor.

Complex cos ( const Complex & x )
 

Complex cosh ( const Complex & x )
 

bool eq ( Complex a,
Complex b,
real tol = comparison_tolerance )
 

Complex exp ( const Complex & x )
 

real getReal ( const Complex & c )
 

bool le ( Complex a,
Complex b,
real tol = comparison_tolerance )
 

Complex log ( const Complex & x )
 

bool lt ( Complex a,
Complex b,
real tol = comparison_tolerance )
 

Complex::Complex max ( Complex arg1,
Complex arg2 ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex min ( Complex arg1,
Complex arg2 ) [inline]
 

See documentation of one of the overloaded constructor.

real norm ( const Complex & x ) [inline]
 

char * oform2 ( char * s,
Complex c )
 

Complex::Complex operator * ( real x,
const Complex & y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator * ( const Complex & x,
real y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator * ( const Complex & x,
const Complex & y )
 

See documentation of one of the overloaded constructor.

int operator!= ( const Complex & x,
real y ) [inline]
 

int operator!= ( const Complex & x,
const Complex & y ) [inline]
 

Complex::Complex operator+ ( real x,
const Complex & y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator+ ( const Complex & x,
real y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator+ ( const Complex & x,
const Complex & y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator- ( real x,
const Complex & y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator- ( const Complex & x,
real y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator- ( const Complex & x,
const Complex & y ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex operator- ( const Complex & x ) [inline]
 

See documentation of one of the overloaded constructor.

Complex operator/ ( real x,
const Complex & y )
 

Complex operator/ ( const Complex & x,
real y )
 

Complex operator/ ( const Complex & x,
const Complex & y )
 

int operator< ( const Complex & x,
const Complex & y ) [inline]
 

Os & operator<< ( Os & s,
const Complex & x )
 

int operator<= ( const Complex & x,
const Complex & y ) [inline]
 

int operator== ( const Complex & x,
real y ) [inline]
 

int operator== ( const Complex & x,
const Complex & y ) [inline]
 

int operator> ( const Complex & x,
const Complex & y ) [inline]
 

int operator>= ( const Complex & x,
const Complex & y ) [inline]
 

Is & operator>> ( Is & s,
Complex & x )
 

Complex::Complex polar ( real r,
real t = 0.0 ) [inline]
 

See documentation of one of the overloaded constructor.

Complex pow ( const Complex & x,
real y )
 

Complex pow ( const Complex & x,
const Complex & p )
 

Complex pow ( const Complex & x,
int p )
 

Complex::Complex pow3 ( Complex a ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex pow4 ( Complex a ) [inline]
 

See documentation of one of the overloaded constructor.

Complex::Complex pow_int ( Complex a,
int i )
 

See documentation of one of the overloaded constructor.

Complex sin ( const Complex & x )
 

Complex sinh ( const Complex & x )
 

Complex::Complex sqr ( Complex a ) [inline]
 

See documentation of one of the overloaded constructor.

Complex sqrt ( const Complex & x )
 


Copyright © 2003 inuTech GmbH. All rights reserved.