00001 00014 /* This library is free software; you can redistribute it and/or 00015 modify it under the terms of the GNU Lesser General Public 00016 License as published by the Free Software Foundation; either 00017 version 2.1 of the License, or (at your option) any later version. 00018 00019 This library is distributed in the hope that it will be useful, 00020 but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00022 Lesser General Public License for more details. 00023 00024 You should have received a copy of the GNU Lesser General Public 00025 License along with this library; if not, write to the Free Software 00026 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00027 */ 00028 00029 #ifndef _GAN_COMPLEX_H 00030 #define _GAN_COMPLEX_H 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00041 00042 typedef struct Gan_Complex 00043 { 00045 double r; 00046 00048 double i; 00049 } Gan_Complex, Gan_Complex_d; 00050 00052 typedef struct Gan_Complex_f 00053 { 00055 float r; 00056 00058 float i; 00059 } Gan_Complex_f; 00060 00065 #ifdef __cplusplus 00066 } 00067 #endif 00068 00069 00070 00071 #endif /* #ifndef _GAN_COMPLEX_H */