#include <complex.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | complex_t(r, i) ((double)(r) + ((double)(i)) * I) |
#define | real(x) creal(x) |
#define | imag(x) cimag(x) |
#define | abs(x) fabs(x) |
#define | arg(x) carg(x) |
Typedefs | |
typedef double complex | complex_t |
#define abs | ( | x | ) | fabs(x) |
#define arg | ( | x | ) | carg(x) |
#define complex_t | ( | r, | |
i | |||
) | ((double)(r) + ((double)(i)) * I) |
#define imag | ( | x | ) | cimag(x) |
#define real | ( | x | ) | creal(x) |
typedef double complex complex_t |