2 This file is part of a program that implements a Software-Defined Radio.
4 Copyright (C) 2004 by Frank Brickle, AB2KT and Bob McGwier, N4HY
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 The authors can be reached by email at
28 The DTTS Microwave Society
37 #include <datatypes.h>
40 extern COMPLEX cxzero;
43 extern COMPLEX cxminusone;
44 extern COMPLEX cxminusJ;
46 extern INLINE COMPLEX Cscl(COMPLEX, REAL);
47 extern INLINE COMPLEX Cadd(COMPLEX, COMPLEX);
48 extern INLINE COMPLEX Csub(COMPLEX, COMPLEX);
49 extern INLINE COMPLEX Cmul(COMPLEX, COMPLEX);
50 extern INLINE COMPLEX Cdiv(COMPLEX, COMPLEX);
51 extern INLINE REAL Cmag(COMPLEX);
52 extern INLINE REAL Cabs(COMPLEX);
53 extern INLINE REAL Csqrmag(COMPLEX);
54 extern INLINE COMPLEX Cmplx(REAL, IMAG);
55 extern INLINE COMPLEX Conjg(COMPLEX);
56 extern INLINE COMPLEX Cexp(COMPLEX);
58 extern INLINE COMPLEX Cp2r(COMPLEX);
59 extern INLINE COMPLEX Cr2p(COMPLEX);