
Go to the source code of this file.
Classes | |
| struct | doublecomplex |
Defines | |
| #define | z_add(c, a, b) |
| #define | z_sub(c, a, b) |
| #define | zd_mult(c, a, b) |
| #define | zz_mult(c, a, b) |
| #define | z_eq(a, b) ( (a)->r == (b)->r && (a)->i == (b)->i ) |
Functions | |
| void | z_div (doublecomplex *, doublecomplex *, doublecomplex *) |
| double | z_abs (doublecomplex *) |
| double | z_abs1 (doublecomplex *) |
| void | z_exp (doublecomplex *, doublecomplex *) |
| void | d_cnjg (doublecomplex *r, doublecomplex *z) |
| double | d_imag (doublecomplex *) |
Definition in file dcomplex.h.
| #define z_add | ( | c, | |||
| a, | |||||
| b | ) |
Value:
{ (c)->r = (a)->r + (b)->r; \
(c)->i = (a)->i + (b)->i; }
Definition at line 31 of file dcomplex.h.
| #define z_eq | ( | a, | |||
| b | ) | ( (a)->r == (b)->r && (a)->i == (b)->i ) |
Definition at line 52 of file dcomplex.h.
| #define z_sub | ( | c, | |||
| a, | |||||
| b | ) |
Value:
{ (c)->r = (a)->r - (b)->r; \
(c)->i = (a)->i - (b)->i; }
Definition at line 35 of file dcomplex.h.
| #define zd_mult | ( | c, | |||
| a, | |||||
| b | ) |
| #define zz_mult | ( | c, | |||
| a, | |||||
| b | ) |
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; \
}
Definition at line 43 of file dcomplex.h.
| void d_cnjg | ( | doublecomplex * | r, | |
| doublecomplex * | z | |||
| ) |
| double d_imag | ( | doublecomplex * | ) |
| double z_abs | ( | doublecomplex * | ) |
| double z_abs1 | ( | doublecomplex * | ) |
| void z_div | ( | doublecomplex * | , | |
| doublecomplex * | , | |||
| doublecomplex * | ||||
| ) |
| void z_exp | ( | doublecomplex * | , | |
| doublecomplex * | ||||
| ) |
1.5.6