summaryrefslogtreecommitdiff
path: root/comp.h
diff options
context:
space:
mode:
Diffstat (limited to 'comp.h')
-rw-r--r--comp.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/comp.h b/comp.h
new file mode 100644
index 0000000..ffc20c1
--- /dev/null
+++ b/comp.h
@@ -0,0 +1,38 @@
1/*---------------------------------------------------------------------------*\
2
3 FILE........: comp.h
4 AUTHOR......: David Rowe
5 DATE CREATED: 24/08/09
6
7 Complex number definition.
8
9\*---------------------------------------------------------------------------*/
10
11/*
12 Copyright (C) 2009 David Rowe
13
14 All rights reserved.
15
16 This program is free software; you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License version 2.1, as
18 published by the Free Software Foundation. This program is
19 distributed in the hope that it will be useful, but WITHOUT ANY
20 WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
22 License for more details.
23
24 You should have received a copy of the GNU Lesser General Public License
25 along with this program; if not, see <http://www.gnu.org/licenses/>.
26*/
27
28#ifndef __COMP__
29#define __COMP__
30
31/* Complex number */
32
33typedef struct {
34 float real;
35 float imag;
36} COMP;
37
38#endif