/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/complex.c File Reference

#include <math.h>
#include "complex.h"

Go to the source code of this file.

Functions

Complex c_add (Complex a, Complex b)
Complex c_sub (Complex a, Complex b)
Complex c_mul (Complex a, Complex b)
Complex c_complex (double re, double im)
Complex c_conj (Complex z)
Complex c_div (Complex a, Complex b)
double c_abs (Complex z)
Complex c_sqrt (Complex z)
Complex c_rcmul (double x, Complex a)


Function Documentation

double c_abs ( Complex  z  ) 

Definition at line 84 of file complex.c.

References Complex::i, and Complex::r.

Referenced by c_tridiag().

Complex c_add ( Complex  a,
Complex  b 
)

Definition at line 25 of file complex.c.

References Complex::i, and Complex::r.

Complex c_complex ( double  re,
double  im 
)

Definition at line 50 of file complex.c.

References Complex::i, and Complex::r.

Complex c_conj ( Complex  z  ) 

Definition at line 58 of file complex.c.

References Complex::i, and Complex::r.

Complex c_div ( Complex  a,
Complex  b 
)

Definition at line 66 of file complex.c.

References Complex::i, and Complex::r.

Referenced by c_tridiag().

Complex c_mul ( Complex  a,
Complex  b 
)

Definition at line 42 of file complex.c.

References Complex::i, and Complex::r.

Referenced by c_tridiag().

Complex c_rcmul ( double  x,
Complex  a 
)

Definition at line 132 of file complex.c.

References Complex::i, and Complex::r.

Complex c_sqrt ( Complex  z  ) 

Definition at line 103 of file complex.c.

References Complex::i, and Complex::r.

Complex c_sub ( Complex  a,
Complex  b 
)

Definition at line 33 of file complex.c.

References Complex::i, and Complex::r.

Referenced by c_tridiag().


Generated on Fri Jan 4 18:04:18 2008 for sedflux by  doxygen 1.5.2