24#ifndef __SUPERLU_DCOMPLEX
25#define __SUPERLU_DCOMPLEX
47#define z_copy(c, a) { (c)->r = (a)->r ; \
51#define z_add(c, a, b) { (c)->r = (a)->r + (b)->r; \
52 (c)->i = (a)->i + (b)->i; }
55#define z_sub(c, a, b) { (c)->r = (a)->r - (b)->r; \
56 (c)->i = (a)->i - (b)->i; }
59#define zd_mult(c, a, b) { (c)->r = (a)->r * (b); \
60 (c)->i = (a)->i * (b); }
63#define zz_mult(c, a, b) { \
65 cr = (a)->r * (b)->r - (a)->i * (b)->i; \
66 ci = (a)->i * (b)->r + (a)->r * (b)->i; \
72#define z_eq(a, b) ( (a)->r == (b)->r && (a)->i == (b)->i )
double slud_z_abs(doublecomplex *)
Definition: dcomplex_dist.c:59
double slud_z_abs1(doublecomplex *)
Definition: dcomplex_dist.c:82
void slud_z_div(doublecomplex *, doublecomplex *, doublecomplex *)
Definition: dcomplex_dist.c:29
Definition: dcomplex.h:30
double i
Definition: dcomplex.h:30
Definitions which are precision-neutral.