ngspice/src/maths/cmaths/cmath.h

8 lines
192 B
C
Raw Normal View History

#ifndef _CMATH_H
#define _CMATH_H
2010-10-24 14:45:05 +02:00
#define alloc_c(len) ((ngcomplex_t *) tmalloc((len) * sizeof(ngcomplex_t)))
#define alloc_d(len) ((double *) tmalloc((len) * sizeof (double)))
#endif