scomplex.h File Reference

complex arithmetics (float) for the SuperLU solver More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  complex

Defines

#define c_add(c, a, b)
#define c_sub(c, a, b)
#define cs_mult(c, a, b)
#define cc_mult(c, a, b)
#define c_eq(a, b)   ( (a)->r == (b)->r && (a)->i == (b)->i )

Functions

void c_div (complex *, complex *, complex *)
double c_abs (complex *)
double c_abs1 (complex *)
void c_exp (complex *, complex *)
void r_cnjg (complex *, complex *)
double r_imag (complex *)


Detailed Description

complex arithmetics (float) for the SuperLU solver

Definition in file scomplex.h.


Define Documentation

#define c_add ( c,
a,
 ) 

Value:

{ (c)->r = (a)->r + (b)->r; \
                         (c)->i = (a)->i + (b)->i; }

Definition at line 31 of file scomplex.h.

#define c_eq ( a,
 )     ( (a)->r == (b)->r && (a)->i == (b)->i )

Definition at line 52 of file scomplex.h.

#define c_sub ( c,
a,
 ) 

Value:

{ (c)->r = (a)->r - (b)->r; \
                         (c)->i = (a)->i - (b)->i; }

Definition at line 35 of file scomplex.h.

#define cc_mult ( c,
a,
 ) 

Value:

{ \
        float cr, ci; \
        cr = (a)->r * (b)->r - (a)->i * (b)->i; \
        ci = (a)->i * (b)->r + (a)->r * (b)->i; \
        (c)->r = cr; \
        (c)->i = ci; \
    }

Definition at line 43 of file scomplex.h.

#define cs_mult ( c,
a,
 ) 

Value:

{ (c)->r = (a)->r * (b); \
                           (c)->i = (a)->i * (b); }

Definition at line 39 of file scomplex.h.


Function Documentation

double c_abs ( complex  ) 

double c_abs1 ( complex  ) 

void c_div ( complex ,
complex ,
complex  
)

void c_exp ( complex ,
complex  
)

void r_cnjg ( complex ,
complex  
)

double r_imag ( complex  ) 


Generated on Wed Nov 20 09:28:29 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6