Jspice3
|
Go to the source code of this file.
Macros | |
#define | alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) |
#define | alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) |
#define | FTEcabs(d) (((d) < 0.0) ? - (d) : (d)) |
#define | cph(c) (atan2(imagpart(c), (realpart(c)))) |
#define | cmag(c) (sqrt(imagpart(c) * imagpart(c) + realpart(c) * realpart(c))) |
#define | radtodeg(c) (cx_degrees ? ((c) / 3.14159265358979323846 * 180) : (c)) |
#define | degtorad(c) (cx_degrees ? ((c) * 3.14159265358979323846 / 180) : (c)) |
#define | rcheck(cond, name) |
#define | cdiv(r1, i1, r2, i2, r3, i3) |
Definition at line 11 of file ftecmath.h.
#define alloc_d | ( | len | ) | ((double *) tmalloc((len) * sizeof (double))) |
Definition at line 12 of file ftecmath.h.
#define cdiv | ( | r1, | |
i1, | |||
r2, | |||
i2, | |||
r3, | |||
i3 | |||
) |
Definition at line 25 of file ftecmath.h.
Definition at line 15 of file ftecmath.h.
#define degtorad | ( | c | ) | (cx_degrees ? ((c) * 3.14159265358979323846 / 180) : (c)) |
Definition at line 17 of file ftecmath.h.
#define radtodeg | ( | c | ) | (cx_degrees ? ((c) / 3.14159265358979323846 * 180) : (c)) |
Definition at line 16 of file ftecmath.h.
#define rcheck | ( | cond, | |
name | |||
) |
Definition at line 18 of file ftecmath.h.