SRC/dcomplex.h File Reference

Header for dcomplex.c. More...

#include <mpi.h>

Go to the source code of this file.

Data Types

type  doublecomplex

Defines

#define z_add(c, a, b)
 Complex Addition c = a + b.
#define z_sub(c, a, b)
 Complex Subtraction c = a - b.
#define zd_mult(c, a, b)
 Complex-Double Multiplication.
#define zz_mult(c, a, b)
 Complex-Complex Multiplication.
#define z_eq(a, b)   ( (a)->r == (b)->r && (a)->i == (b)->i )
 Complex equality testing.

Functions/Subroutines

void slud_z_div (doublecomplex *, doublecomplex *, doublecomplex *)
double slud_z_abs (doublecomplex *)
double slud_z_abs1 (doublecomplex *)

Variables

MPI_Datatype SuperLU_MPI_DOUBLE_COMPLEX


Detailed Description

 -- Distributed SuperLU routine (version 1.0) --
 Lawrence Berkeley National Lab, Univ. of California Berkeley.
 September 1, 1999
 

Define Documentation

#define z_add ( c,
a,
 ) 

Value:

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

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

#define z_sub ( c,
a,
 ) 

Value:

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

#define zd_mult ( c,
a,
 ) 

Value:

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

#define zz_mult ( c,
a,
 ) 

Value:

{ \
        double 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; \
    }


Function Documentation

double slud_z_abs ( doublecomplex  ) 

double slud_z_abs1 ( doublecomplex  ) 

void slud_z_div ( doublecomplex ,
doublecomplex ,
doublecomplex  
)


Variable Documentation


Generated on Tue Aug 30 14:36:33 2011 for SuperLUDistributed by  doxygen 1.5.5