GNU Radio 3.5.1 C++ API
|
00001 /*---------------------------------------------------------------------------*\ 00002 00003 FILE........: comp.h 00004 AUTHOR......: David Rowe 00005 DATE CREATED: 24/08/09 00006 00007 Complex number definition. 00008 00009 \*---------------------------------------------------------------------------*/ 00010 00011 /* 00012 Copyright (C) 2009 David Rowe 00013 00014 All rights reserved. 00015 00016 This program is free software; you can redistribute it and/or modify 00017 it under the terms of the GNU Lesser General Public License version 2.1, as 00018 published by the Free Software Foundation. This program is 00019 distributed in the hope that it will be useful, but WITHOUT ANY 00020 WARRANTY; without even the implied warranty of MERCHANTABILITY or 00021 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 00022 License for more details. 00023 00024 You should have received a copy of the GNU Lesser General Public License 00025 along with this program; if not, see <http://www.gnu.org/licenses/>. 00026 */ 00027 00028 #ifndef __COMP__ 00029 #define __COMP__ 00030 00031 /* Complex number */ 00032 00033 typedef struct { 00034 float real; 00035 float imag; 00036 } COMP; 00037 00038 #endif