Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
FrequencySeries.c
Go to the documentation of this file.
1/*
2 * Copyright (C) 2007 Kipp Cannon
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12 * Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19
20#include <complex.h>
21#include <math.h>
22#include <string.h>
23#include <lal/Date.h>
24#include <lal/LALDatatypes.h>
25#include <lal/LALStdlib.h>
26#include <lal/FrequencySeries.h>
27#include <lal/Sequence.h>
28#include <lal/Units.h>
29#include <lal/XLALError.h>
30
31#define DATATYPE REAL4
32#include "FrequencySeries_source.c"
33#undef DATATYPE
34
35#define DATATYPE REAL8
36#include "FrequencySeries_source.c"
37#undef DATATYPE
38
39#define DATATYPE COMPLEX8
40#include "FrequencySeries_source.c"
41#include "FrequencySeriesComplex_source.c"
42#undef DATATYPE
43
44#define DATATYPE COMPLEX16
45#include "FrequencySeries_source.c"
46#include "FrequencySeriesComplex_source.c"
47#undef DATATYPE
48
49#define DATATYPE INT2
50#include "FrequencySeries_source.c"
51#undef DATATYPE
52
53#define DATATYPE UINT2
54#include "FrequencySeries_source.c"
55#undef DATATYPE
56
57#define DATATYPE INT4
58#include "FrequencySeries_source.c"
59#undef DATATYPE
60
61#define DATATYPE UINT4
62#include "FrequencySeries_source.c"
63#undef DATATYPE
64
65#define DATATYPE INT8
66#include "FrequencySeries_source.c"
67#undef DATATYPE
68
69#define DATATYPE UINT8
70#include "FrequencySeries_source.c"
71#undef DATATYPE